Skip to content

Commit 775e201

Browse files
authored
fix: don't check if vite is installed (#4659)
1 parent a990845 commit 775e201

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/vitest/src/node/cli-api.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ export async function startVitest(
3636
// this shouldn't affect _application root_ that can be changed inside config
3737
const root = resolve(options.root || process.cwd())
3838

39-
if (!await ensurePackageInstalled('vite', root)) {
40-
process.exitCode = 1
41-
return
42-
}
43-
4439
if (typeof options.coverage === 'boolean')
4540
options.coverage = { enabled: options.coverage }
4641

0 commit comments

Comments
 (0)