renovate/lib/config/migrations/custom/match-datasources-migration...

20 lines
495 B
TypeScript

import { MatchDatasourcesMigration } from './match-datasources-migration';
describe('config/migrations/custom/match-datasources-migration', () => {
it('should migrate properly', () => {
expect(MatchDatasourcesMigration).toMigrate(
{
matchDatasources: ['adoptium-java', 'dotnet', 'npm', 'node'],
},
{
matchDatasources: [
'java-version',
'dotnet-version',
'npm',
'node-version',
],
},
);
});
});