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

26 lines
504 B
TypeScript

import { DryRunMigration } from './dry-run-migration';
describe('config/migrations/custom/dry-run-migration', () => {
it('should migrate dryRun=true to dryRun=full', () => {
expect(DryRunMigration).toMigrate(
{
dryRun: true,
},
{
dryRun: 'full',
},
);
});
it('should migrate dryRun=false to dryRun=null', () => {
expect(DryRunMigration).toMigrate(
{
dryRun: false,
},
{
dryRun: null,
},
);
});
});