Skip to content

Commit

Permalink
test: add debugger to test context
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas committed Apr 7, 2024
1 parent 57eb635 commit 8d910a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/__tests__/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ export const tokens = {
bar: { 100: 'red', 200: 'blue' },
};

export const context = createContext(tokens);
const ctx = createContext(tokens);
ctx.debug = console.log;

export const context = ctx;

0 comments on commit 8d910a3

Please sign in to comment.