renovate/lib/manager/homebrew/util.spec.ts
renovate[bot] 4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00

11 lines
308 B
TypeScript

import { skip } from './util';
describe('lib/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);
});
});
});