Skip to content

Commit

Permalink
chore: remove additional spyConsoleError?.mockRestore();
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrasinskis committed Mar 26, 2024
1 parent 37ad9f2 commit b76344d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ describe("actionable-proposals.services", () => {
vi.clearAllMocks();
neuronsStore.reset();
actionableNnsProposalsStore.reset();
spyConsoleError?.mockRestore();
vi.spyOn(authStore, "subscribe").mockImplementation(
mockAuthStoreSubscribe
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,11 @@ describe("actionable-sns-proposals.services", () => {
vi.clearAllMocks();
resetSnsProjects();
actionableSnsProposalsStore.resetForTesting();
spyConsoleError?.mockRestore();

resetIdentity();

vi.spyOn(authStore, "subscribe").mockImplementation(
mockAuthStoreSubscribe
);

vi.spyOn(snsProjectsCommittedStore, "subscribe").mockClear();

spyQuerySnsNeurons = vi
Expand Down

0 comments on commit b76344d

Please sign in to comment.