renovate/test/globals.js

13 lines
298 B
JavaScript
Raw Normal View History

jest.mock('gh-got');
jest.mock('gl-got');
const cache = require('../lib/workers/global/cache');
2017-11-07 12:31:34 +00:00
global.platform = jest.genMockFromModule('../lib/platform/github');
global.logger = require('./logger/_fixtures');
2018-12-17 14:08:43 +00:00
global.renovateUsername = 'renovate-testing';
global.repoCache = {};
2018-12-17 14:08:43 +00:00
cache.init();