19 lines
384 B
TypeScript
19 lines
384 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import {csvLoader} from 'inline-schema/csv-loader/rollup';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.ts'],
|
|
},
|
|
plugins: [csvLoader({
|
|
writeToDisk: true
|
|
})],
|
|
resolve: {
|
|
alias: {
|
|
'@/': new URL('./src/', import.meta.url).pathname,
|
|
},
|
|
},
|
|
});
|