ZooWork Market · Skill
Testing N8n Testing
Test n8n nodes using Jest as the test runner, nock for deterministic HTTP mocking, and npm link for local node validation in the n8n UI. Use this skill when writing test files in __tests__ folders, mocking HTTP requests with nock, creating mock IExecuteFunctions contexts to simulate the n8n runtime, testing helper functions, setting up golden-file style tests, running the linter as part of the pre-publish checklist, or locally testing nodes in the n8n UI. Apply these practices when organizing test files, mocking external APIs, validating node execution output, or following the pre-publish checklist.