mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 13:38:32 +00:00
21 lines
506 B
TypeScript
21 lines
506 B
TypeScript
import { MatchStringsMigration } from './match-strings-migration';
|
|
|
|
describe('config/migrations/custom/match-strings-migration', () => {
|
|
it('should migrate properly', () => {
|
|
expect(MatchStringsMigration).toMigrate(
|
|
{
|
|
matchStrings: [
|
|
undefined,
|
|
'(?<lookupName>',
|
|
null,
|
|
'(?<lookupName>(?<lookupName>',
|
|
'',
|
|
],
|
|
},
|
|
{
|
|
matchStrings: ['(?<packageName>', '(?<packageName>(?<packageName>'],
|
|
},
|
|
);
|
|
});
|
|
});
|