mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 02:29:51 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
37 lines
767 B
TypeScript
37 lines
767 B
TypeScript
import { DatasourceMigration } from './datasource-migration.ts';
|
|
|
|
describe('config/migrations/custom/datasource-migration', () => {
|
|
it('should migrate adoptium-java', async () => {
|
|
await expect(DatasourceMigration).toMigrate(
|
|
{
|
|
datasource: 'adoptium-java',
|
|
},
|
|
{
|
|
datasource: 'java-version',
|
|
},
|
|
);
|
|
});
|
|
|
|
it('should migrate donet', async () => {
|
|
await expect(DatasourceMigration).toMigrate(
|
|
{
|
|
datasource: 'dotnet',
|
|
},
|
|
{
|
|
datasource: 'dotnet-version',
|
|
},
|
|
);
|
|
});
|
|
|
|
it('should migrate node', async () => {
|
|
await expect(DatasourceMigration).toMigrate(
|
|
{
|
|
datasource: 'node',
|
|
},
|
|
{
|
|
datasource: 'node-version',
|
|
},
|
|
);
|
|
});
|
|
});
|