test(Webhook Node): Replace jest with vi for Vitest compatibility

This commit is contained in:
Iván Ovejero
2026-06-18 22:38:20 +02:00
parent 2a9d85dbf9
commit 0c3159d2ec
@@ -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' }}" });