- fix tests
This commit is contained in:
@@ -19,7 +19,7 @@ it('Configurations are merged correctly', async () => {
|
|||||||
|
|
||||||
expect(expectedStringified).toEqual(
|
expect(expectedStringified).toEqual(
|
||||||
`{
|
`{
|
||||||
"max_tags_to_fetch": 200,
|
"max_tags_to_fetch": 100,
|
||||||
"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": [],
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ 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,
|
||||||
|
|||||||
Reference in New Issue
Block a user