mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 05:39:10 +00:00
10 lines
283 B
TypeScript
10 lines
283 B
TypeScript
import * as renovateWorker from './workers/global';
|
|
|
|
Object.defineProperty(renovateWorker, 'start', { value: jest.fn() });
|
|
|
|
describe('renovate', () => {
|
|
it('starts', async () => {
|
|
await import('./renovate');
|
|
expect(renovateWorker.start).toHaveBeenCalledTimes(1);
|
|
});
|
|
});
|