🔧 test environment setup
This commit is contained in:
parent
80e2c6e358
commit
8a99e698f4
18
vitest.config.ts
Normal file
18
vitest.config.ts
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
// vitest.config.ts
|
||||||
|
import { fileURLToPath, URL } from 'node:url';
|
||||||
|
import { defineConfig } from 'vitest/config';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||||
|
'@visua': path.resolve(__dirname, './node_modules/@cellule-financiere-pmo/visua/output'),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
test: {
|
||||||
|
globals: true,
|
||||||
|
environment: 'jsdom',
|
||||||
|
include: ['test/**/*.spec.ts'],
|
||||||
|
},
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user