Skip to content

Commit

Permalink
fix exclude settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed Sep 19, 2024
1 parent 148ee1d commit d13efc2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/app/vitest.workspace.mts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const configShared = defineConfig({
test: {
clearMocks: true,
globals: true,
exclude: [
'test/**',
'test-with-vite/**',
'playwright/**',
]
},
});

Expand All @@ -24,7 +29,6 @@ export default defineWorkspace([
name: 'app-unit',
environment: 'node',
include: ['**/*.spec.{ts,js}'],
exclude: ['**/test/**'],
},
},
),
Expand All @@ -37,7 +41,6 @@ export default defineWorkspace([
name: 'app-integration',
environment: 'node',
include: ['**/*.integ.ts'],
exclude: ['**/test/**'],
setupFiles: [
'./test-with-vite/setup/mongoms.ts',
],
Expand All @@ -56,7 +59,6 @@ export default defineWorkspace([
include: [
'**/*.spec.{tsx,jsx}',
],
exclude: ['**/test/**'],
},
},
),
Expand Down

0 comments on commit d13efc2

Please sign in to comment.