mirror of https://github.com/renovatebot/renovate
13 lines
326 B
TypeScript
13 lines
326 B
TypeScript
import { addSplit, getSplits, splitInit } from './split';
|
|
|
|
describe('util/split', () => {
|
|
it('adds splits and returns results', () => {
|
|
splitInit();
|
|
addSplit('one');
|
|
addSplit('two');
|
|
const res = getSplits();
|
|
expect(res.total).toBeDefined();
|
|
expect(Object.keys(res.splits)).toHaveLength(2);
|
|
});
|
|
});
|