chore: Upgrade nock and delete nock related boilerplate code (no-changelog) (#12869)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-01-27 18:17:51 +01:00
committed by GitHub
parent 0bb65f27ab
commit f64c6bf9ac
154 changed files with 75 additions and 1483 deletions

View File

@@ -19,8 +19,6 @@ import { getWorkflowFilenames, testWorkflows } from '../../../../test/nodes/Help
describe('Telegram', () => {
describe('Run Telegram workflow', () => {
beforeAll(() => {
nock.disableNetConnect();
const { baseUrl } = FAKE_CREDENTIALS_DATA.telegramApi;
const mock = nock(baseUrl);
@@ -43,10 +41,6 @@ describe('Telegram', () => {
mock.post('/bottestToken/getChatMember').reply(200, getMemberResponse);
});
afterAll(() => {
nock.restore();
});
const workflows = getWorkflowFilenames(__dirname);
testWorkflows(workflows);
});