Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Fix test withmockRestore
Browse files Browse the repository at this point in the history
  • Loading branch information
PIC123 committed Sep 10, 2019
1 parent cf5285e commit d9c7aec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/login/utils/simpleFileTokenCache.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe("Simple File Token Cache", () => {

expect(mockMkDir).toBeCalled();
mockMkDir.mockRestore();
mockHomedir.mockRestore();
});

it("Load file on creation if available", () => {
Expand Down

0 comments on commit d9c7aec

Please sign in to comment.