Skip to content

Commit 8cf67b0

Browse files
committed
fix test
1 parent 7b5e340 commit 8cf67b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/clerk-js/src/core/resources/__tests__/Token.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { InstanceType } from '@clerk/shared/types';
22
import { afterEach, beforeEach, describe, expect, it, type Mock, vi } from 'vitest';
33

44
import { mockFetch, mockNetworkFailedFetch } from '@/test/core-fixtures';
5+
import { debugLogger } from '@/utils/debug';
56

67
import { SUPPORTED_FAPI_VERSION } from '../../constants';
78
import { createFapiClient } from '../../fapiClient';
@@ -50,7 +51,7 @@ describe('Token', () => {
5051
writable: true,
5152
value: false,
5253
});
53-
warnSpy = vi.spyOn(console, 'warn').mockReturnValue();
54+
warnSpy = vi.spyOn(debugLogger, 'warn').mockReturnValue();
5455
});
5556

5657
afterEach(() => {

0 commit comments

Comments
 (0)