0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/config/migrations/custom/package-pattern-migration.spec.ts
2023-11-07 15:50:29 +00:00

15 lines
354 B
TypeScript

import { PackagePatternMigration } from './package-pattern-migration';
describe('config/migrations/custom/package-pattern-migration', () => {
it('should migrate value to array', () => {
expect(PackagePatternMigration).toMigrate(
{
packagePattern: 'test',
},
{
packagePatterns: ['test'],
},
);
});
});