Skip to content

Commit ea51aa1

Browse files
committed
move from deprecated vitest type
1 parent 2105ba3 commit ea51aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/setup/setup-test-env.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import '#app/utils/env.server.ts'
55

66
import { installGlobals } from '@remix-run/node'
77
import { cleanup } from '@testing-library/react'
8-
import { afterEach, beforeEach, vi, type SpyInstance } from 'vitest'
8+
import { afterEach, beforeEach, vi, type MockInstance } from 'vitest'
99
import { server } from '#tests/mocks/index.ts'
1010
import './custom-matchers.ts'
1111

@@ -14,7 +14,7 @@ installGlobals()
1414
afterEach(() => server.resetHandlers())
1515
afterEach(() => cleanup())
1616

17-
export let consoleError: SpyInstance<Parameters<(typeof console)['error']>>
17+
export let consoleError: MockInstance<Parameters<(typeof console)['error']>>
1818

1919
beforeEach(() => {
2020
const originalConsoleError = console.error

0 commit comments

Comments
 (0)