boardgame-core/vitest.config.ts

19 lines
384 B
TypeScript
Raw Permalink Normal View History

import { defineConfig } from 'vitest/config';
2026-04-04 17:51:18 +08:00
import {csvLoader} from 'inline-schema/csv-loader/rollup';
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['tests/**/*.test.ts'],
},
2026-04-04 17:51:18 +08:00
plugins: [csvLoader({
writeToDisk: true
})],
2026-04-02 15:59:27 +08:00
resolve: {
alias: {
'@/': new URL('./src/', import.meta.url).pathname,
},
},
});