const renovateWorker = require('../lib/workers/global'); require('../lib/.eslintrc'); renovateWorker.start = jest.fn(); describe('renovate', () => { it('starts', () => { require('../lib/renovate'); expect(renovateWorker.start).toHaveBeenCalledTimes(1); }); });