mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 13:38:32 +00:00
bf2c0693ac
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>
13 lines
379 B
TypeScript
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();
|
|
}
|
|
});
|
|
});
|