mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 13:38:32 +00:00
14 lines
384 B
TypeScript
14 lines
384 B
TypeScript
import { presets } from './group';
|
|
|
|
const exceptions = new Set(['monorepos', 'recommended']);
|
|
|
|
describe('config/presets/internal/group', () => {
|
|
const presetNames = Object.keys(presets).filter(
|
|
(name) => !exceptions.has(name),
|
|
);
|
|
|
|
it.each(presetNames)('group:%s contains packageRules', (name: string) => {
|
|
expect(presets[name]).toHaveProperty('packageRules');
|
|
});
|
|
});
|