mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 02:29:51 +00:00
196101a6bb
* 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>
47 lines
1015 B
TypeScript
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',
|
|
},
|
|
);
|
|
});
|
|
});
|