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