mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-19 07:36:52 +00:00
test(Webhook Node): Replace jest with vi for Vitest compatibility
This commit is contained in:
@@ -205,7 +205,7 @@ describe('Test Webhook Node', () => {
|
||||
Object.defineProperty(req, 'ip', { value: '127.0.0.1', configurable: true });
|
||||
};
|
||||
|
||||
afterEach(() => jest.clearAllMocks());
|
||||
afterEach(() => vi.clearAllMocks());
|
||||
|
||||
it('runs the workflow when the expression evaluates truthy', async () => {
|
||||
setup({ onlyRunIf: "={{ $json.body.campaign_id === 'user-research-invite' }}" });
|
||||
|
||||
Reference in New Issue
Block a user