UNPKG

@vue/test-utils

Version:

Component testing utils for Vue 3.

15 lines (14 loc) 868 B
import { DOMWrapper } from './domWrapper'; import { VueWrapper } from './vueWrapper'; import BaseWrapper from './baseWrapper'; import { mount, shallowMount } from './mount'; import { renderToString } from './renderToString'; import type { MountingOptions, Stubs } from './types'; import { RouterLinkStub } from './components/RouterLinkStub'; import { createWrapperError } from './errorWrapper'; import { config } from './config'; import { flushPromises } from './utils/flushPromises'; import { disableAutoUnmount, enableAutoUnmount } from './utils/autoUnmount'; import type { ComponentMountingOptions } from './mount'; export { mount, shallowMount, renderToString, enableAutoUnmount, disableAutoUnmount, RouterLinkStub, VueWrapper, DOMWrapper, BaseWrapper, config, flushPromises, createWrapperError }; export type { MountingOptions, Stubs, ComponentMountingOptions };