Files
walkrs/test/vitest.config.mjs
T

25 lines
469 B
JavaScript

import swc from 'unplugin-swc';
import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
root: './',
globals: true,
include: ['test/**/*.spec.ts'],
coverage: {
provider: 'v8',
include: ['test/**'],
},
server: {
deps: {
fallbackCJS: true,
},
},
env: {
TZ: 'UTC',
},
},
plugins: [swc.vite(), tsconfigPaths()],
});