renovate/lib/config/presets/internal/monorepos.spec.ts

27 lines
653 B
TypeScript

import { presets } from './monorepos';
const todo = new Set([
'arcus.background-jobs',
'arcus.event-grid',
'arcus.messaging',
'arcus.observability',
'arcus.security',
'arcus.webapi',
'aspnet aspnetwebstack',
'aspnet extensions',
'azure azure-libraries-for-net',
'azure azure-sdk-for-net',
'azure azure-storage-net',
'Hangfire',
'system.io.abstractions',
'vaadinWebComponents',
]);
describe('config/presets/internal/monorepos', () => {
it('presets should have right name', () => {
for (const name of Object.keys(presets).filter((name) => !todo.has(name))) {
expect(name).toMatch(/^[a-z0-9-]+$/);
}
});
});