mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
15 lines
328 B
JavaScript
15 lines
328 B
JavaScript
|
import { mergeConfig } from 'vitest/config';
|
||
|
import viteConfig from './vite.config';
|
||
|
|
||
|
export default mergeConfig(viteConfig, {
|
||
|
test: {
|
||
|
include: ['src/**/*.{test,spec}.{js,ts}'],
|
||
|
globals: true,
|
||
|
environment: 'jsdom',
|
||
|
setupFiles: ['./src/test-data/setup.ts'],
|
||
|
sequence: {
|
||
|
hooks: 'list',
|
||
|
},
|
||
|
},
|
||
|
});
|