mirror of https://github.com/renovatebot/renovate
15 lines
336 B
TypeScript
15 lines
336 B
TypeScript
import { PackageNameMigration } from './package-name-migration';
|
|
|
|
describe('config/migrations/custom/package-name-migration', () => {
|
|
it('should migrate value to array', () => {
|
|
expect(PackageNameMigration).toMigrate(
|
|
{
|
|
packageName: 'test',
|
|
},
|
|
{
|
|
packageNames: ['test'],
|
|
},
|
|
);
|
|
});
|
|
});
|