renovate/test/setup.ts
2021-10-27 08:22:02 +02:00

9 lines
259 B
TypeScript

// Check for missing or pending http mocks
import './http-mock';
jest.mock('../lib/platform', () => ({
platform: jest.createMockFromModule('../lib/platform/github'),
initPlatform: jest.fn(),
getPlatformList: jest.fn(),
}));
jest.mock('../lib/logger');