2020-03-05 20:57:24 +00:00
|
|
|
import { RenovateConfig, getConfig } from '../../../test/util';
|
2020-05-01 16:03:48 +00:00
|
|
|
import { processResult } from './result';
|
2018-05-09 06:03:59 +00:00
|
|
|
|
2020-01-10 10:35:49 +00:00
|
|
|
let config: RenovateConfig;
|
2018-05-09 06:03:59 +00:00
|
|
|
beforeEach(() => {
|
|
|
|
jest.resetAllMocks();
|
2020-03-02 11:06:16 +00:00
|
|
|
config = getConfig();
|
2018-05-09 06:03:59 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
describe('workers/repository/result', () => {
|
|
|
|
describe('processResult()', () => {
|
|
|
|
it('runs', () => {
|
2020-05-18 12:33:44 +00:00
|
|
|
const result = processResult(config, 'done');
|
|
|
|
expect(result).not.toBeNil();
|
2018-05-09 06:03:59 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|