mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 13:38:32 +00:00
dca3418bbd
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/ BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
12 lines
312 B
TypeScript
12 lines
312 B
TypeScript
import { skip } from './util';
|
|
|
|
describe('modules/manager/homebrew/util', () => {
|
|
describe('skip()', () => {
|
|
it('handles out of bounds case', () => {
|
|
const content = 'some content';
|
|
const idx = content.length * 2;
|
|
expect(skip(idx, content, (c) => c === '!')).toBe(idx);
|
|
});
|
|
});
|
|
});
|