0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-12 23:51:55 +00:00
renovatebot_renovate/lib/modules/manager/kotlin-script/index.spec.ts
RahulGautamSingh bc7d0595d0
feat(config): managerFilePatterns (#34615)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-04 08:30:24 +00:00

14 lines
486 B
TypeScript

import { regEx } from '../../../util/regex';
import { isRegexMatch } from '../../../util/string-match';
import { defaultConfig } from '.';
describe('modules/manager/kotlin-script/index', () => {
it('managerFilePatterns regex is correct', () => {
expect(defaultConfig.managerFilePatterns).toHaveLength(1);
defaultConfig.managerFilePatterns.forEach((pattern) => {
if (isRegexMatch(pattern)) {
expect(() => regEx(pattern)).not.toThrow();
}
});
});
});