0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-11 05:39:10 +00:00
renovatebot_renovate/lib/renovate.spec.ts
2023-09-08 11:40:04 +00:00

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);
});
});