Files
n8n/packages/@n8n/workflow-sdk/vitest.config.ts
T
2026-06-03 06:08:31 +00:00

8 lines
263 B
TypeScript

import { createVitestConfig } from '@n8n/vitest-config/node';
export default createVitestConfig({
// The n8n root jest.config sets `restoreMocks: true`, and the test files rely on it.
restoreMocks: true,
globalSetup: ['./scripts/vitest-global-setup.ts'],
});