mirror of
https://github.com/immich-app/walkrs.git
synced 2026-09-30 13:32:57 +08:00
25 lines
469 B
JavaScript
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()],
|
|
});
|