renovate/test/globals.js
2018-09-03 07:27:22 +02:00

9 lines
228 B
JavaScript

jest.mock('gh-got');
jest.mock('gl-got');
const cache = require('../lib/workers/global/cache');
global.platform = jest.genMockFromModule('../lib/platform/github');
global.logger = require('./_fixtures/logger');
cache.init();