Skip to content

Commit 69fe029

Browse files
committed
fix: restore mocks properly after testing
1 parent 566da1a commit 69fe029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/auth/login.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('commandAuthLogin', () => {
5454
});
5555
});
5656
afterEach(async () => {
57-
jest.resetAllMocks();
57+
jest.restoreAllMocks();
5858
await polykeyAgent.stop();
5959
await fs.promises.rm(dataDir, {
6060
force: true,

0 commit comments

Comments
 (0)