Revert "- fix tests"

This reverts commit c44347b677.
This commit is contained in:
Mike Penz
2025-02-17 21:42:36 +01:00
parent 9af3e36292
commit 5430414741
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ it('Configurations are merged correctly', async () => {
expect(expectedStringified).toEqual( expect(expectedStringified).toEqual(
`{ `{
"max_tags_to_fetch": 100, "max_tags_to_fetch": 200,
"max_pull_requests": 1000, "max_pull_requests": 1000,
"max_back_track_time_days": 1000, "max_back_track_time_days": 1000,
"exclude_merge_branches": [], "exclude_merge_branches": [],
-1
View File
@@ -11,7 +11,6 @@ const token = process.env.GITHUB_TOKEN || ''
const githubRepository = new GithubRepository(token, undefined, '.') const githubRepository = new GithubRepository(token, undefined, '.')
it('[Github] Should match generated changelog (unspecified fromTag)', async () => { it('[Github] Should match generated changelog (unspecified fromTag)', async () => {
const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs/configuration.json')) 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( const releaseNotesBuilder = new ReleaseNotesBuilder(
null, null,
githubRepository, githubRepository,