Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(test-utils)!: use vitest/node subpath export #8815

Merged
merged 3 commits into from Nov 10, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/test-utils/src/run.ts
Expand Up @@ -22,7 +22,7 @@ export async function runTests (opts: RunTestOptions) {
}

// @ts-ignore missing types
const { startVitest } = await import('vitest/dist/node.mjs') as typeof import('vitest/dist/node')
const { startVitest } = await import('vitest/dist/node.js') as typeof import('vitest/dist/node')
danielroe marked this conversation as resolved.
Show resolved Hide resolved
const succeeded = await startVitest(
'test',
[] /* argv */,
Expand Down