File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/runtime-dom/__tests__ Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- import { type SpyInstance } from 'vitest'
1
+ import { type MockInstance } from 'vitest'
2
2
import { render , h } from '@vue/runtime-dom'
3
3
4
4
describe ( 'customized built-in elements support' , ( ) => {
5
- let createElement : SpyInstance
5
+ let createElement : MockInstance
6
6
afterEach ( ( ) => {
7
7
createElement . mockRestore ( )
8
8
} )
Original file line number Diff line number Diff line change 1
- import { type SpyInstance } from 'vitest'
1
+ import { type MockInstance } from 'vitest'
2
2
3
3
expect . extend ( {
4
4
toHaveBeenWarned ( received : string ) {
@@ -65,7 +65,7 @@ expect.extend({
65
65
}
66
66
} )
67
67
68
- let warn : SpyInstance
68
+ let warn : MockInstance
69
69
const asserted : Set < string > = new Set ( )
70
70
71
71
beforeEach ( ( ) => {
You can’t perform that action at this time.
0 commit comments