Skip to content

Commit 3f95526

Browse files
committed
iterate
1 parent e2fc08f commit 3f95526

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1+
import path from 'node:path';
12
import { mergeConfig } from 'vitest/config';
23
import configShared from '../../../vitest.config.unit.mjs';
34

4-
export default mergeConfig(configShared, {});
5+
export default mergeConfig(configShared, {
6+
test: {
7+
setupFiles: [path.join(__dirname, 'test', 'setup.js')],
8+
deps: {
9+
optimizer: {
10+
web: {
11+
include: ['vitest-canvas-mock'],
12+
},
13+
},
14+
},
15+
},
16+
});

0 commit comments

Comments
 (0)