Skip to content

Commit 77d03ad

Browse files
committed
chore: empty changeset
1 parent 4e09004 commit 77d03ad

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

.changeset/great-cobras-give.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

eslint.config.mjs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -367,16 +367,8 @@ export default tseslint.config([
367367
},
368368
},
369369
{
370-
name: 'packages/clerk-js - vitest',
371-
files: ['packages/clerk-js/src/**/*.test.{ts,tsx}'],
372-
rules: {
373-
'jest/unbound-method': 'off',
374-
'@typescript-eslint/unbound-method': 'off',
375-
},
376-
},
377-
{
378-
name: 'packages/react - vitest',
379-
files: ['packages/react/src/**/*.test.{ts,tsx}'],
370+
name: 'packages - vitest',
371+
files: ['packages/*/src/**/*.test.{ts,tsx}'],
380372
rules: {
381373
'jest/unbound-method': 'off',
382374
'@typescript-eslint/unbound-method': 'off',

packages/chrome-extension/src/internal/utils/__tests__/cookies.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ describe('Cookies', () => {
2525
const name = '__client';
2626
const cookie = createCookie({ name, value: 'foo', domain });
2727

28-
// eslint-disable-next-line jest/unbound-method -- The Jest ESLint plugin doesn't support Vitest
2928
const getMock = vi.mocked(browser.cookies.get);
3029

3130
afterEach(() => getMock.mockReset());

packages/chrome-extension/src/internal/utils/__tests__/storage.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ describe('StorageCache', () => {
2222

2323
describe('set', () => {
2424
test('setting the storage cache', async () => {
25-
// eslint-disable-next-line jest/unbound-method -- The Jest ESLint plugin doesn't support Vitest
2625
const setMock = vi.mocked(browser.storage.local.set).mockResolvedValueOnce(_void);
2726

2827
expect(await BrowserStorageCache.set(KEY, VALUE)).toBe(_void);
@@ -33,7 +32,6 @@ describe('StorageCache', () => {
3332

3433
describe('remove', () => {
3534
test('removing from the storage cache', async () => {
36-
// eslint-disable-next-line jest/unbound-method -- The Jest ESLint plugin doesn't support Vitest
3735
const removeMock = vi.mocked(browser.storage.local.remove).mockResolvedValueOnce(_void);
3836

3937
expect(await BrowserStorageCache.remove(KEY)).toBe(_void);
@@ -48,7 +46,6 @@ describe('StorageCache', () => {
4846
});
4947

5048
test('value missing', async () => {
51-
// eslint-disable-next-line jest/unbound-method -- The Jest ESLint plugin doesn't support Vitest
5249
const getMock = vi.mocked(browser.storage.local.get).mockResolvedValue({});
5350

5451
expect(await BrowserStorageCache.get(KEY)).toBeUndefined();
@@ -57,7 +54,6 @@ describe('StorageCache', () => {
5754
});
5855

5956
test('value exists', async () => {
60-
// eslint-disable-next-line jest/unbound-method -- The Jest ESLint plugin doesn't support Vitest
6157
const getMock = vi.mocked(browser.storage.local.get).mockResolvedValue({ [KEY]: VALUE });
6258

6359
expect(await BrowserStorageCache.get(KEY)).toBe(VALUE);

0 commit comments

Comments
 (0)