mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
9d8239d9cf
Adds automatic memcaching of datasource releases results per-repo.
12 lines
298 B
JavaScript
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();
|