mirror of
https://github.com/renovatebot/renovate.git
synced 2025-03-12 15:26:58 +00:00
36 lines
728 B
TypeScript
36 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',
|
|
},
|
|
);
|
|
});
|
|
});
|