vue/test/vitest.setup.ts
2022-05-23 15:15:29 +08:00

14 lines
407 B
TypeScript

process.env.NEW_SLOT_SYNTAX = 'true'
import './helpers/shim-done'
import './helpers/to-have-warned'
import './helpers/classlist'
import { waitForUpdate } from './helpers/wait-for-update'
import { triggerEvent } from './helpers/trigger-event'
import { createTextVNode } from './helpers/vdom'
global.waitForUpdate = waitForUpdate
global.triggerEvent = triggerEvent
global.createTextVNode = createTextVNode