n8n/packages/@n8n/workflow-sdk/vitest.config.ts
Matsu 0a3d04faa2
test: Migrate @n8n/workflow-sdk from Jest to Vitest (no-changelog) (#31546)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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'],
});