Skip to content

Commit 136cf83

Browse files
committed
chore: minor test changes
1 parent 6a04871 commit 136cf83

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/cli/src/__tests__/commands/push.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ const originalFetch = global.fetch;
5252
describe('push', () => {
5353
const redoclyClient = require('@redocly/openapi-core').__redoclyClient;
5454

55+
beforeAll(() => {
56+
global.fetch = mockFetch;
57+
});
58+
5559
beforeEach(() => {
5660
jest.spyOn(process.stdout, 'write').mockImplementation(() => true);
57-
global.fetch = mockFetch;
5861
});
5962

6063
afterAll(() => {

0 commit comments

Comments
 (0)