mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 09:41:46 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
13 lines
391 B
TypeScript
13 lines
391 B
TypeScript
import { regEx } from '../../util/regex.ts';
|
|
import { allManagersList, hashMap } from './index.ts';
|
|
|
|
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();
|
|
}
|
|
});
|
|
});
|