mirror of
https://github.com/immich-app/immich.git
synced 2025-01-08 12:56:48 +01:00
9c7dee8551
* chore: migrate CLI to ESM and vitest * fix lint * update github workflow * format
22 lines
461 B
TypeScript
22 lines
461 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@test-utils': new URL('../../../server/dist/test-utils/utils.js', import.meta.url).pathname,
|
|
},
|
|
},
|
|
test: {
|
|
include: ['**/*.e2e-spec.ts'],
|
|
globals: true,
|
|
globalSetup: 'test/e2e/setup.ts',
|
|
pool: 'forks',
|
|
poolOptions: {
|
|
forks: {
|
|
maxForks: 1,
|
|
minForks: 1,
|
|
},
|
|
},
|
|
testTimeout: 10000,
|
|
},
|
|
});
|