renovate/test/renovate.spec.js
2017-11-07 13:31:34 +01:00

11 lines
276 B
JavaScript

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