mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
06d8c27043
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
16 lines
514 B
TypeScript
16 lines
514 B
TypeScript
import { RenovateConfig, getConfig } from '../../../../test/util';
|
|
import { GlobalConfig } from '../../../config/global';
|
|
import { initializeCaches } from './cache';
|
|
|
|
describe('workers/repository/init/cache', () => {
|
|
describe('initializeCaches()', () => {
|
|
let config: RenovateConfig;
|
|
beforeEach(() => {
|
|
config = { ...getConfig() };
|
|
GlobalConfig.set({ cacheDir: '' });
|
|
});
|
|
it('initializes', async () => {
|
|
expect(await initializeCaches(config)).toBeUndefined();
|
|
});
|
|
});
|
|
});
|