Files
renovate/lib/config/migrations/custom/fetch-release-notes-migration.spec.ts
renovate[bot] 196101a6bb chore(deps): update dependency oxlint-tsgolint to v0.25.0 (main) (#44424)
* chore(deps): update dependency oxlint-tsgolint to v0.25.0

| datasource | package         | from   | to     |
| ---------- | --------------- | ------ | ------ |
| npm        | oxlint-tsgolint | 0.23.0 | 0.25.0 |

* chore: fix new no-unnecessary-type-assertion findings

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Poxhofer <sebastian.poxhofer@stedi.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 07:04:21 +00:00

47 lines
1015 B
TypeScript

import { FetchReleaseNotesMigration } from './fetch-release-notes-migration.ts';
describe('config/migrations/custom/fetch-release-notes-migration', () => {
it('migrates', async () => {
await expect(FetchReleaseNotesMigration).toMigrate(
{
fetchReleaseNotes: false,
},
{
fetchChangeLogs: 'off',
},
);
await expect(FetchReleaseNotesMigration).toMigrate(
{
fetchReleaseNotes: true,
},
{
fetchChangeLogs: 'pr',
},
);
await expect(FetchReleaseNotesMigration).toMigrate(
{
fetchReleaseNotes: 'pr',
},
{
fetchChangeLogs: 'pr',
},
);
await expect(FetchReleaseNotesMigration).toMigrate(
{
fetchReleaseNotes: 'off',
},
{
fetchChangeLogs: 'off',
},
);
await expect(FetchReleaseNotesMigration).toMigrate(
{
fetchReleaseNotes: 'branch',
},
{
fetchChangeLogs: 'branch',
},
);
});
});