Skip to content

Commit

Permalink
fix: running vitest in yarn, when vitest stored in virtual folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Dec 29, 2021
1 parent 21f6d50 commit 900952a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vitest/src/node/execute.ts
Expand Up @@ -23,6 +23,8 @@ export interface ExecuteOptions {

const defaultInline = [
'vitest/dist',
// yarn's .store folder
/vitest-virtual-\w+\/dist/,
/virtual:/,
/\.ts$/,
/\/esm\/.*\.js$/,
Expand Down

0 comments on commit 900952a

Please sign in to comment.