Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/runtime-dom/__tests__/customizedBuiltIn.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
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()
})
Expand Down
4 changes: 2 additions & 2 deletions scripts/setupVitest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type SpyInstance } from 'vitest'
import { type MockInstance } from 'vitest'

expect.extend({
toHaveBeenWarned(received: string) {
Expand Down Expand Up @@ -65,7 +65,7 @@ expect.extend({
}
})

let warn: SpyInstance
let warn: MockInstance
const asserted: Set<string> = new Set()

beforeEach(() => {
Expand Down