@@ -1,4 +1,3 @@
-import { vi } from 'vitest'
import { ParserOptions } from '../src/options'
import { baseParse, TextModes } from '../src/parse'
import { ErrorCodes } from '../src/errors'
import { baseParse } from '../src/parse'
import { transform, NodeTransform } from '../src/transform'
import {
CompilerOptions,
baseParse as parse,
transform,
import { baseParse as parse } from '../../src/parse'
import { transform } from '../../src/transform'
import { transformIf } from '../../src/transforms/vIf'
import { compile } from '../../src'
describe('Transition multi children warnings', () => {
import { reactive, effect, toRaw, isReactive } from '../../src'
describe('reactivity/collections', () => {
import { reactive, effect, isReactive, toRaw } from '../../src'
import { reactive, isReactive, effect, toRaw } from '../../src'
computed,
reactive,
import { computed, deferredComputed, effect, ref } from '../src'
describe('deferred computed', () => {
ref,
import { nextTick, watch, watchEffect } from '@vue/runtime-core'
import { reactive, isReactive, toRaw } from '../src/reactive'
import { ref, isRef } from '../src/ref'
import { effect } from '../src/effect'
effect,
isReactive,
isShallow,
defineAsyncComponent,
h,
createApp,
onBeforeMount,
import { ref, reactive } from '@vue/reactivity'
renderToString,
ComponentInternalInstance,
watch,
watchEffect,
@@ -1,7 +1,6 @@
// Note: emits and listener fallthrough is tested in
// ./rendererAttrsFallthrough.spec.ts.
render,
defineComponent,
@@ -1,7 +1,7 @@
/**
* @vitest-environment jsdom
*/
+
getCurrentInstance,
nodeOps,
TestElement,
serializeInner,
withDirectives,
onMounted,
onErrorCaptured,
import { HMRRuntime } from '../src/hmr'
import '../src/hmr'
import { ComponentOptions, InternalRenderFunction } from '../src/component'
createSSRApp,
@@ -2,7 +2,7 @@
// using DOM renderer because this case is mostly DOM-specific
Fragment,
queueJob,
nextTick,
createBlock,
createVNode,
import { createApp, h } from '../src'
describe('createApp for dom', () => {
import { patchEvent } from '../../src/modules/events'
import { withModifiers, withKeys } from '@vue/runtime-dom'
import { patchProp } from '../src/patchProp'
const timeout = () => new Promise(r => setTimeout(r))
import { render, h } from '../src'
describe(`runtime-dom: style patching`, () => {
import { createSSRApp, defineComponent, h, computed, reactive } from 'vue'
import { renderToString } from '../src/renderToString'
import { createApp, h, Suspense } from 'vue'
import Vue from '@vue/compat'
import { nextTick } from '@vue/runtime-core'
import { CompilerDeprecationTypes } from '../../compiler-core/src'
DeprecationTypes,
import { nextTick } from '../../runtime-core/src/scheduler'
import { createApp } from '../src'
// https://github.com/vuejs/docs/pull/1890
import { E2E_TIMEOUT, setupPuppeteer } from './e2eUtils'
import path from 'path'
import { h, createApp, Transition, ref, nextTick } from 'vue'
import { createApp, ref } from 'vue'
import { EMPTY_ARR } from '@vue/shared'
import { createApp, ref, nextTick, reactive } from '../src'