mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(test-utils)!: use vitest/node
subpath export (#8815)
This commit is contained in:
parent
2bc3c18dfa
commit
46cf2566f1
@ -21,8 +21,7 @@ export async function runTests (opts: RunTestOptions) {
|
||||
process.env.NUXT_TEST_DEV = 'true'
|
||||
}
|
||||
|
||||
// @ts-ignore missing types
|
||||
const { startVitest } = await import('vitest/dist/node.mjs') as typeof import('vitest/dist/node')
|
||||
const { startVitest } = await import('vitest/node')
|
||||
const succeeded = await startVitest(
|
||||
'test',
|
||||
[] /* argv */,
|
||||
|
Loading…
Reference in New Issue
Block a user