aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/renovate.spec.ts
blob: 58efd7dcffecccc69ec1439c9e2c15882c3a6759 (plain)
1
2
3
4
5
6
7
8
9
10
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);
  });
});