Skip to content

Commit

Permalink
test: use vi.fn
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas committed Apr 7, 2024
1 parent 8d910a3 commit 6a69dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export const tokens = {
};

const ctx = createContext(tokens);
ctx.debug = console.log;
ctx.debug = vi.fn();

export const context = ctx;

0 comments on commit 6a69dbe

Please sign in to comment.