We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a04871 commit 136cf83Copy full SHA for 136cf83
packages/cli/src/__tests__/commands/push.test.ts
@@ -52,9 +52,12 @@ const originalFetch = global.fetch;
52
describe('push', () => {
53
const redoclyClient = require('@redocly/openapi-core').__redoclyClient;
54
55
+ beforeAll(() => {
56
+ global.fetch = mockFetch;
57
+ });
58
+
59
beforeEach(() => {
60
jest.spyOn(process.stdout, 'write').mockImplementation(() => true);
- global.fetch = mockFetch;
61
});
62
63
afterAll(() => {
0 commit comments