mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 13:48:13 +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'
|
||||
}
|
||||
|
||||
const { startVitest } = await import('vitest/dist/node.js')
|
||||
const { startVitest } = await import('vitest/dist/node.mjs')
|
||||
const succeeded = await startVitest(
|
||||
[] /* argv */,
|
||||
// Vitest options
|
||||
|
Loading…
Reference in New Issue
Block a user