mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-28 15:27:03 +02:00
16 lines
425 B
JavaScript
16 lines
425 B
JavaScript
import { dirname, resolve } from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
import { config as loadEnv } from 'dotenv';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
loadEnv({ path: resolve(__dirname, '.env') });
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['src/__tests__/integration/**/*.test.ts'],
|
|
testTimeout: 120_000,
|
|
hookTimeout: 30_000,
|
|
},
|
|
});
|