chore: remove unnecessary imports from vitest (#8562)
This commit is contained in:
parent
6d7360d514
commit
f32ec17131
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* @vitest-environment jsdom
|
||||
*/
|
||||
import { vi, type Mock } from 'vitest'
|
||||
import { type Mock } from 'vitest'
|
||||
import {
|
||||
h,
|
||||
nodeOps,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { vi, SpyInstance } from 'vitest'
|
||||
import { type SpyInstance } from 'vitest'
|
||||
import { render, h } from '@vue/runtime-dom'
|
||||
|
||||
describe('customized built-in elements support', () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect, vi } from 'vitest'
|
||||
import Vue from '@vue/compat'
|
||||
import { effect, isReactive } from '@vue/reactivity'
|
||||
import { h, nextTick } from '@vue/runtime-core'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { vi, Mock } from 'vitest'
|
||||
import { type Mock } from 'vitest'
|
||||
import Vue from '@vue/compat'
|
||||
import { Slots } from '../../runtime-core/src/componentSlots'
|
||||
import { Text } from '../../runtime-core/src/vnode'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { vi, type SpyInstance } from 'vitest'
|
||||
import { type SpyInstance } from 'vitest'
|
||||
|
||||
expect.extend({
|
||||
toHaveBeenWarned(received: string) {
|
||||
|
|
Loading…
Reference in New Issue