mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 18:43:40 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
27 lines
624 B
TypeScript
27 lines
624 B
TypeScript
import { NodeMigration } from './node-migration.ts';
|
|
|
|
describe('config/migrations/custom/node-migration', () => {
|
|
it('should migrate node to travis', async () => {
|
|
await expect(NodeMigration).toMigrate(
|
|
{
|
|
node: { enabled: true },
|
|
},
|
|
{
|
|
travis: { enabled: true },
|
|
},
|
|
);
|
|
});
|
|
|
|
it('should not delete node in case it has more than one property', async () => {
|
|
await expect(NodeMigration).toMigrate(
|
|
{
|
|
node: { enabled: true, automerge: false },
|
|
},
|
|
{
|
|
node: { automerge: false },
|
|
travis: { enabled: true },
|
|
},
|
|
);
|
|
});
|
|
});
|