You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-09 23:17:29 +02:00
chore: migrate to vitest (#7156)
* chore: jest => vitest * chore: replace jest-when
This commit is contained in:
15
server/vitest.config.mjs
Normal file
15
server/vitest.config.mjs
Normal file
@@ -0,0 +1,15 @@
|
||||
import swc from 'unplugin-swc';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
root: './',
|
||||
globals: true,
|
||||
server: {
|
||||
deps: {
|
||||
fallbackCJS: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [swc.vite()],
|
||||
});
|
Reference in New Issue
Block a user