Skip to content

Commit

Permalink
fix: convert '--single-thread' and '--inspect' cli args to boolean (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Apr 5, 2023
1 parent affc6d8 commit 83a9aa7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vitest/src/node/config.ts
Expand Up @@ -86,6 +86,10 @@ export function resolveConfig(
mode,
} as ResolvedConfig

resolved.inspect = Boolean(resolved.inspect)
resolved.inspectBrk = Boolean(resolved.inspectBrk)
resolved.singleThread = Boolean(resolved.singleThread)

if (viteConfig.base !== '/')
resolved.base = viteConfig.base

Expand Down

0 comments on commit 83a9aa7

Please sign in to comment.