Files
renovate/lib/config/migrations/custom/enabled-managers-migration.spec.ts
Jamie Tanna f777a48ebf feat(managers): rename renovate-config-presets to renovate-config (#42937)
* feat(managers): rename `renovate-config-presets` to `renovate-config`

As part of future changes, we'll extend this support to cover other
functionality. Instead of having multiple managers for this
functionality, we'll use a single, shared, manager for all Renovate
config management.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* fixup! feat(managers): rename `renovate-config-presets` to `renovate-config`

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-04-29 16:10:39 +00:00

39 lines
823 B
TypeScript

import { EnabledManagersMigration } from './enabled-managers-migration.ts';
describe('config/migrations/custom/enabled-managers-migration', () => {
it('migrates', async () => {
await expect(EnabledManagersMigration).toMigrate(
{
enabledManagers: [
'test1',
'yarn',
'test2',
'regex',
'custom.regex',
'renovate-config-presets',
],
},
{
enabledManagers: [
'test1',
'npm',
'test2',
'custom.regex',
'custom.regex',
'renovate-config',
],
},
);
// coverage
await expect(EnabledManagersMigration).not.toMigrate(
{
enabledManagers: undefined,
},
{
enabledManagers: undefined,
},
);
});
});