1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/server/vitest.config.medium.mjs
2024-10-09 10:00:40 -04:00

18 lines
368 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/medium/**/*.spec.ts'],
server: {
deps: {
fallbackCJS: true,
},
},
},
plugins: [swc.vite(), tsconfigPaths()],
});