From 54304147419942deeb5fe82adecc3b3445958c55 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Mon, 17 Feb 2025 21:42:36 +0100 Subject: [PATCH] Revert "- fix tests" This reverts commit c44347b677b318d4180a7fb4ea1ea21c2622c7e0. --- __tests__/configuration.test.ts | 2 +- __tests__/releaseNotesBuilder.test.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/__tests__/configuration.test.ts b/__tests__/configuration.test.ts index ba62ed4..9f58fbf 100644 --- a/__tests__/configuration.test.ts +++ b/__tests__/configuration.test.ts @@ -19,7 +19,7 @@ it('Configurations are merged correctly', async () => { expect(expectedStringified).toEqual( `{ - "max_tags_to_fetch": 100, + "max_tags_to_fetch": 200, "max_pull_requests": 1000, "max_back_track_time_days": 1000, "exclude_merge_branches": [], diff --git a/__tests__/releaseNotesBuilder.test.ts b/__tests__/releaseNotesBuilder.test.ts index 83bc17a..6fb4e40 100644 --- a/__tests__/releaseNotesBuilder.test.ts +++ b/__tests__/releaseNotesBuilder.test.ts @@ -11,7 +11,6 @@ const token = process.env.GITHUB_TOKEN || '' const githubRepository = new GithubRepository(token, undefined, '.') it('[Github] Should match generated changelog (unspecified fromTag)', async () => { const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs/configuration.json')) - configuration.max_tags_to_fetch = 300 // we change to load less, but those tests are pretty old releases const releaseNotesBuilder = new ReleaseNotesBuilder( null, githubRepository,