mirror of https://github.com/renovatebot/renovate
15 lines
354 B
TypeScript
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'],
|
|
},
|
|
);
|
|
});
|
|
});
|