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/match-strings-migration.spec.ts
2023-11-07 15:50:29 +00:00

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>'],
},
);
});
});