test(core): Mock filesystem in tests (#10823)

This commit is contained in:
Iván Ovejero
2024-09-17 09:15:09 +02:00
committed by GitHub
parent a6e1064985
commit d14bb36300
4 changed files with 6 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ import type { SuperAgentTest } from './shared/types';
import { initActiveWorkflowManager } from './shared/utils';
import { mockInstance } from '../shared/mocking';
jest.unmock('node:fs');
mockInstance(Telemetry);
describe('Webhook API', () => {