mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
907b2b054e
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
13 lines
294 B
TypeScript
13 lines
294 B
TypeScript
import nock from 'nock';
|
|
import 'jest-extended';
|
|
|
|
jest.mock('../lib/platform', () => ({
|
|
platform: jest.createMockFromModule('../lib/platform/github'),
|
|
initPlatform: jest.fn(),
|
|
getPlatformList: jest.fn(),
|
|
}));
|
|
jest.mock('../lib/logger');
|
|
|
|
beforeAll(() => {
|
|
nock.disableNetConnect();
|
|
});
|