Skip to content

Commit

Permalink
fix(vitest): pass down CLI options to override workspace configs
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Dec 18, 2023
1 parent 217910b commit 3b87d85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vitest/src/node/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ export class Vitest {
'globals',
'mode',
'expandSnapshotDiff',
'retry',
'testNamePattern',
'passWithNoTests',
'bail',
] as const

const cliOverrides = overridesOptions.reduce((acc, name) => {
Expand Down

0 comments on commit 3b87d85

Please sign in to comment.