diff --git a/src/components/Avatar/Avatar.spec.tsx b/src/components/Avatar/Avatar.spec.tsx index eced8a62f0..44d5489eb6 100644 --- a/src/components/Avatar/Avatar.spec.tsx +++ b/src/components/Avatar/Avatar.spec.tsx @@ -10,11 +10,8 @@ import { store } from 'state/store'; import Avatar from './Avatar'; import i18nForTest from 'utils/i18nForTest'; import { StaticMockLink } from 'utils/StaticMockLink'; - -// Setup mock for StaticMockLink const link = new StaticMockLink([], true); -// Mock store and i18nForTest vi.mock('state/store', () => ({ store: { getState: vi.fn(() => ({ diff --git a/vitest.config.ts b/vitest.config.ts index 3807d8b62e..ad85276111 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -1,4 +1,3 @@ - import { defineConfig } from 'vitest/config'; import react from '@vitejs/plugin-react'; import { nodePolyfills } from 'vite-plugin-node-polyfills';