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

Commit

Permalink
reset mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Oct 10, 2024
1 parent 1ad8f1e commit 62da8ab
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ describe("CreateCrossSigningDialog", () => {
});
});

afterEach(() => {
jest.resetAllMocks();
jest.restoreAllMocks();
});

it("should call createCrossSigning and show a spinner while it runs", async () => {
const onFinished = jest.fn();

Expand Down

0 comments on commit 62da8ab

Please sign in to comment.