-import { type SpyInstance } from 'vitest'
+import { type MockInstance } from 'vitest'
import { render, h } from '@vue/runtime-dom'
describe('customized built-in elements support', () => {
- let createElement: SpyInstance
+ let createElement: MockInstance
afterEach(() => {
createElement.mockRestore()
})
-import { type SpyInstance } from 'vitest'
+import { type MockInstance } from 'vitest'
expect.extend({
toHaveBeenWarned(received: string) {
}
})
-let warn: SpyInstance
+let warn: MockInstance
const asserted: Set<string> = new Set()
beforeEach(() => {