mirror of
https://github.com/renovatebot/renovate.git
synced 2025-05-12 23:51:55 +00:00

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>
14 lines
486 B
TypeScript
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();
|
|
}
|
|
});
|
|
});
|
|
});
|