diff --git a/backend/src/services/review.service.test.ts b/backend/src/services/review.service.test.ts index 0375c5a67..f33b8667f 100644 --- a/backend/src/services/review.service.test.ts +++ b/backend/src/services/review.service.test.ts @@ -141,6 +141,7 @@ describe("ReviewService", () => { reviewId: reviews.reviewId, zid: reviews.zid, bookmark: true, + scraped: false }; const errorResult = new HTTPError(badRequest); @@ -158,6 +159,7 @@ describe("ReviewService", () => { reviewId: reviews[0].reviewId, zid: reviews[0].zid, bookmark: true, + scraped: false }; const errorResult = new HTTPError(badRequest); @@ -177,6 +179,7 @@ describe("ReviewService", () => { reviewId: reviews[0].reviewId, zid: reviews[0].zid, bookmark: true, + scraped: false }; expect(service.bookmarkReview(request)).resolves.toEqual({ @@ -197,6 +200,7 @@ describe("ReviewService", () => { reviewId: reviews[0].reviewId, zid: reviews[0].zid, bookmark: false, + scraped: false }; expect(service.bookmarkReview(request)).resolves.toEqual({ review: reviews[0], diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 1b084e9aa..a09ba0af0 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -24,8 +24,6 @@ "skipLibCheck": true /* Skip type checking all .d.ts files. */, "strictPropertyInitialization": false, "resolveJsonModule": true, - "typeRoots": ["./node_modules/@types"], - "types": ["node"] }, "include": ["src/**/*", "config/*"], "exclude": ["src/**/*.test.ts"]