renovate/test/renovate.spec.ts
Jamie Magee 8554df5c61 test: convert top level tests to typescript (#4526)
Also convert usage of chai to jest
2019-09-25 11:40:58 +02:00

12 lines
312 B
TypeScript

import * as renovateWorker from '../lib/workers/global';
require('../lib/.eslintrc');
Object.defineProperty(renovateWorker, 'start', { value: jest.fn() });
describe('renovate', () => {
it('starts', () => {
require('../lib/renovate');
expect(renovateWorker.start).toHaveBeenCalledTimes(1);
});
});