Skip to content

Commit

Permalink
✅ test: deps.inline uses server.deps.inline instead (#3220)
Browse files Browse the repository at this point in the history
  • Loading branch information
RubuJam authored Jul 15, 2024
1 parent dd839ca commit 1dd4f53
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ export default defineConfig({
reporter: ['text', 'json', 'lcov', 'text-summary'],
reportsDirectory: './coverage/app',
},
deps: {
inline: ['vitest-canvas-mock'],
},
environment: 'happy-dom',
exclude: [
'**/node_modules/**',
Expand All @@ -36,6 +33,11 @@ export default defineConfig({
'src/server/modules/**/**',
],
globals: true,
server: {
deps: {
inline: ['vitest-canvas-mock'],
},
},
setupFiles: './tests/setup.ts',
},
});

0 comments on commit 1dd4f53

Please sign in to comment.