File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export default defineConfig({
2424You can retrieve Vitest's default options to expand them if needed:
2525
2626``` ts
27- import { defineConfig , configDefaults } from ' vitest'
27+ import { defineConfig , configDefaults } from ' vitest/node '
2828
2929export default defineConfig ({
3030 test: {
Original file line number Diff line number Diff line change 1- import type { UserConfig } from 'vite'
21import type { Plugin as PrettyFormatPlugin } from 'pretty-format'
32import type { Any , Anything } from './integrations/chai/jest-asymmetric-matchers'
43import type { MatcherState , MatchersObject } from './integrations/chai/types'
@@ -14,8 +13,6 @@ export * from './integrations/vi'
1413export * from './types'
1514export * from './api/types'
1615
17- export { configDefaults } from './defaults'
18-
1916type VitestInlineConfig = InlineConfig
2017
2118declare module 'vite' {
@@ -27,10 +24,6 @@ declare module 'vite' {
2724 }
2825}
2926
30- export function defineConfig ( config : UserConfig ) {
31- return config
32- }
33-
3427interface AsymmetricMatchersContaining {
3528 stringContaining ( expected : string ) : any
3629 objectContaining ( expected : any ) : any
Original file line number Diff line number Diff line change 1+ import type { UserConfig } from 'vite'
2+
3+ export { configDefaults } from '../defaults'
4+ export function defineConfig ( config : UserConfig ) {
5+ return config
6+ }
7+
18export type { Vitest } from './core'
29export { createVitest } from './create'
310export { VitestPlugin } from './plugins'
You can’t perform that action at this time.
0 commit comments