mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
8554df5c61
Also convert usage of chai to jest
12 lines
312 B
TypeScript
12 lines
312 B
TypeScript
import * as renovateWorker from '../lib/workers/global';
|
|
|
|
require('../lib/.eslintrc');
|
|
|
|
Object.defineProperty(renovateWorker, 'start', { value: jest.fn() });
|
|
|
|
describe('renovate', () => {
|
|
it('starts', () => {
|
|
require('../lib/renovate');
|
|
expect(renovateWorker.start).toHaveBeenCalledTimes(1);
|
|
});
|
|
});
|