Files
renovate/lib/config/migrations/custom/match-strings-migration.spec.ts
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00

21 lines
521 B
TypeScript

import { MatchStringsMigration } from './match-strings-migration.ts';
describe('config/migrations/custom/match-strings-migration', () => {
it('should migrate properly', async () => {
await expect(MatchStringsMigration).toMigrate(
{
matchStrings: [
undefined,
'(?<lookupName>',
null,
'(?<lookupName>(?<lookupName>',
'',
],
},
{
matchStrings: ['(?<packageName>', '(?<packageName>(?<packageName>'],
},
);
});
});