immich/server/vitest.config.medium.mjs

18 lines
368 B
JavaScript
Raw Normal View History

2024-10-09 07:00:40 -07:00
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/medium/**/*.spec.ts'],
server: {
deps: {
fallbackCJS: true,
},
},
},
plugins: [swc.vite(), tsconfigPaths()],
});