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'
22import { render , h } from '@vue/runtime-dom'
33
44describe ( 'customized built-in elements support' , ( ) => {
5- let createElement : SpyInstance
5+ let createElement : MockInstance
66 afterEach ( ( ) => {
77 createElement . mockRestore ( )
88 } )
Original file line number Diff line number Diff line change 1- import { type SpyInstance } from 'vitest'
1+ import { type MockInstance } from 'vitest'
22
33expect . extend ( {
44 toHaveBeenWarned ( received : string ) {
@@ -65,7 +65,7 @@ expect.extend({
6565 }
6666} )
6767
68- let warn : SpyInstance
68+ let warn : MockInstance
6969const asserted : Set < string > = new Set ( )
7070
7171beforeEach ( ( ) => {
You can’t perform that action at this time.
0 commit comments