Skip to content

Commit

Permalink
fix: narrow down vitest inline patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 28, 2023
1 parent 9894b85 commit 5f3cde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nuxt-vitest/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export async function getVitestConfigFromNuxt(
? true
: [
// vite-node defaults
/\/(nuxt|nuxt3)\//,
/\/node_modules\/(.*\/)?(nuxt|nuxt3)\//,
/^#/,
'vite',
// additional deps
Expand Down

0 comments on commit 5f3cde3

Please sign in to comment.