0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/manager/fingerprint.spec.ts
RahulGautamSingh bf2c0693ac
refactor(managers): implement custom managers api (#23357)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-08-15 17:12:54 +00:00

13 lines
379 B
TypeScript

import { regEx } from '../../util/regex';
import { allManagersList, hashMap } from '.';
describe('modules/manager/fingerprint', () => {
it('validate manager hash', () => {
const regex = regEx(/^[a-f0-9]{64}$/i);
for (const manager of allManagersList) {
const managerHash = hashMap.get(manager)!;
expect(regex.test(managerHash)).toBeTrue();
}
});
});