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

37 lines
728 B
TypeScript

import { DatasourceMigration } from './datasource-migration';
describe('config/migrations/custom/datasource-migration', () => {
it('should migrate adoptium-java', () => {
expect(DatasourceMigration).toMigrate(
{
datasource: 'adoptium-java',
},
{
datasource: 'java-version',
},
);
});
it('should migrate donet', () => {
expect(DatasourceMigration).toMigrate(
{
datasource: 'dotnet',
},
{
datasource: 'dotnet-version',
},
);
});
it('should migrate node', () => {
expect(DatasourceMigration).toMigrate(
{
datasource: 'node',
},
{
datasource: 'node-version',
},
);
});
});