0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/manager/homebrew/util.spec.ts
Rhys Arkins dca3418bbd refactor: lib/modules (#14488)
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
2022-03-04 09:04:02 +01:00

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);
});
});
});