mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 13:38:32 +00:00
37 lines
728 B
TypeScript
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',
|
|
},
|
|
);
|
|
});
|
|
});
|