renovate/test/globals.js
Rhys Arkins 9d8239d9cf feat: datasource releases memcache
Adds automatic memcaching of datasource releases results per-repo.
2018-12-25 13:31:51 +02:00

12 lines
298 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');
global.renovateUsername = 'renovate-testing';
global.repoCache = {};
cache.init();