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

@@ -1,5 +1,3 @@
import nock from 'nock';
import * as getSchema from '../../../../v2/actions/base/getSchema.operation';
import * as transport from '../../../../v2/transport';
import { createMockExecuteFunction } from '../helpers';
@@ -15,15 +13,6 @@ jest.mock('../../../../v2/transport', () => {
});
describe('Test AirtableV2, base => getSchema', () => {
beforeAll(() => {
nock.disableNetConnect();
});
afterAll(() => {
nock.restore();
jest.unmock('../../../../v2/transport');
});
it('should return all bases', async () => {
const nodeParameters = {
resource: 'base',