mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 15:10:58 +00:00
fix(test-utils): update vitest import path with .mjs
(#5817)
This commit is contained in:
parent
b8db1c1ff6
commit
8685bfa9e9
@ -21,7 +21,7 @@ export async function runTests (opts: RunTestOptions) {
|
|||||||
process.env.NUXT_TEST_DEV = 'true'
|
process.env.NUXT_TEST_DEV = 'true'
|
||||||
}
|
}
|
||||||
|
|
||||||
const { startVitest } = await import('vitest/dist/node.js')
|
const { startVitest } = await import('vitest/dist/node.mjs')
|
||||||
const succeeded = await startVitest(
|
const succeeded = await startVitest(
|
||||||
[] /* argv */,
|
[] /* argv */,
|
||||||
// Vitest options
|
// Vitest options
|
||||||
|
Loading…
Reference in New Issue
Block a user