mirror of
https://github.com/n8n-io/n8n.git
synced 2026-07-28 03:24:59 +02:00
18 lines
401 B
TypeScript
18 lines
401 B
TypeScript
import { mergeConfig } from 'vite';
|
|
import { baseConfig } from './vitest.config.base';
|
|
|
|
const integrationTcConfig = mergeConfig(baseConfig, {
|
|
test: {
|
|
include: ['test/integration/**/*.test.ts', 'src/**/*.integration.test.ts'],
|
|
testTimeout: 30_000,
|
|
},
|
|
});
|
|
|
|
export default {
|
|
...integrationTcConfig,
|
|
test: {
|
|
...integrationTcConfig.test,
|
|
globalSetup: ['./test/setup-testcontainers.ts'],
|
|
},
|
|
};
|