wynn/ts/vitest.config.ts
a a8295b09d6
Some checks failed
commit-tag / commit-tag-image (map[context:./migrations file:./migrations/Dockerfile name:migrations]) (push) Successful in 16s
commit-tag / commit-tag-image (map[context:./ts file:./ts/Dockerfile name:ts]) (push) Failing after 36s
noot
2025-06-14 16:17:42 -05:00

19 lines
399 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
typecheck: {
enabled: true,
tsconfig: './tsconfig.json',
include: ['**/*.{test,spec}.{ts,tsx}'],
},
},
resolve: {
alias: {
'#': new URL('./src', import.meta.url).pathname,
},
},
})