mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
edfbe81da7
Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: Rhys Arkins <rhys@arkins.net>
13 lines
405 B
TypeScript
13 lines
405 B
TypeScript
import { regEx } from '../../util/regex';
|
|
import { getManagers, hashMap } from '.';
|
|
|
|
describe('modules/manager/fingerprint', () => {
|
|
it('validate manager hash', () => {
|
|
const regex = regEx(/^[a-f0-9]{64}$/i);
|
|
const managers = getManagers();
|
|
for (const [manager] of managers) {
|
|
const managerHash = hashMap.get(manager);
|
|
expect(regex.test(managerHash)).toBeTrue();
|
|
}
|
|
});
|
|
});
|