mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-24 13:25:26 +02:00
Some checks are pending
Build: Benchmark Image / build (push) Waiting to run
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.x) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.14.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (25.x) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Util: Sync API Docs / sync-public-api (push) Waiting to run
30 lines
578 B
TypeScript
30 lines
578 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import { createBaseInlineConfig } from '@n8n/vitest-config/node';
|
|
|
|
const { reporters, outputFile, ...sharedTestConfig } = createBaseInlineConfig({
|
|
include: ['test/**/*.test.ts'],
|
|
setupFiles: ['./test/setup-vm-evaluator.ts'],
|
|
});
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
reporters,
|
|
outputFile,
|
|
projects: [
|
|
{
|
|
test: {
|
|
...sharedTestConfig,
|
|
name: 'legacy-engine',
|
|
},
|
|
},
|
|
{
|
|
test: {
|
|
...sharedTestConfig,
|
|
name: 'vm-engine',
|
|
env: { N8N_EXPRESSION_ENGINE: 'vm' },
|
|
},
|
|
},
|
|
],
|
|
},
|
|
});
|