n8n/packages/@n8n/workflow-sdk/scripts/jest-global-setup.ts
Mutasem Aldmour 2fd54d8230
feat(core): Curate workflow examples for the builder sandbox (#30025)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 06:45:39 +00:00

11 lines
333 B
TypeScript

/**
* Jest globalSetup hook: extract committed zips into the expected on-disk
* layout before any test runs. We can't rely on npm/pnpm's pretest hook here
* because CI invokes `test:unit` (turbo task), not `test`.
*/
import { extractAllWorkflows } from './extract-workflows';
module.exports = () => {
extractAllWorkflows();
};