We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a45940 commit 288ac61Copy full SHA for 288ac61
1 file changed
test/nuxt/components/compare/PackageSelector.spec.ts
@@ -7,21 +7,6 @@ import PackageSelector from '~/components/compare/PackageSelector.vue'
7
const mockFetch = vi.fn()
8
vi.stubGlobal('$fetch', mockFetch)
9
10
-// Mock useTimeoutFn
11
-vi.mock('@vueuse/core', async () => {
12
- const actual = await vi.importActual('@vueuse/core')
13
- return {
14
- ...actual,
15
- useTimeoutFn: (fn: () => void, _delay: number) => {
16
- // Execute immediately for tests
17
18
- start: () => fn(),
19
- stop: () => {},
20
- }
21
- },
22
23
-})
24
-
25
describe('PackageSelector', () => {
26
beforeEach(() => {
27
mockFetch.mockReset()
0 commit comments