Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Dec 30, 2024
1 parent b0876eb commit 5eb2dfb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions embed/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ jest.mock("../src/rate-limiter", () => {
};
});



jest.mock("../src/autoVerification", () => {
const originalModule = jest.requireActual<typeof import("../src/autoVerification")>("../src/autoVerification");

Expand All @@ -98,7 +96,7 @@ jest.mock("../src/autoVerification", () => {
(
req: Request<ParamsDictionary, AutoVerificationResponseBodyType, AutoVerificationRequestBodyType>,
res: Response
) => {
): Promise<void> => {
return new Promise((resolve, reject) => {
res.status(200).json(mockedScore);
resolve();
Expand All @@ -108,8 +106,6 @@ jest.mock("../src/autoVerification", () => {
};
});



import { app } from "../src/index";

beforeEach(() => {
Expand Down

0 comments on commit 5eb2dfb

Please sign in to comment.