Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Dec 10, 2022
1 parent 72b2f2a commit 930b648
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/core/src/middleware/koa-spa-proxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ describe('koaSpaProxy middleware', () => {

afterEach(() => {
jest.clearAllMocks();
jest.resetModules();
});

const next = jest.fn();
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/test-utils/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const mockEsmWithActual: <T>(
...factory(),
}));

// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return import(moduleName);
};

Expand Down

0 comments on commit 930b648

Please sign in to comment.