- simplify test sample

This commit is contained in:
Mike Penz
2023-07-28 07:03:53 +00:00
committed by GitHub
parent 7b190295d7
commit 4bc1ce265f
+2 -2
View File
@@ -571,7 +571,6 @@ npm test -- custom.test.ts
```typescript
import {mergeConfiguration, resolveConfiguration} from '../src/utils'
import {ReleaseNotesBuilder} from '../src/releaseNotesBuilder'
import {Configuration} from '../src/configuration';
jest.setTimeout(180000)
@@ -579,7 +578,7 @@ it('Test custom changelog builder', async () => {
const configuration = mergeConfiguration(undefined, resolveConfiguration(
'',
'configs_test/configuration_approvers.json'
)) as Configuration;
))
const releaseNotesBuilder = new ReleaseNotesBuilder(
null, // baseUrl
null, // token
@@ -595,6 +594,7 @@ it('Test custom changelog builder', async () => {
false, // enable to fetch release information
false, // enable to fetch reviews
false, // commitMode
false, // enable exportOnly
configuration // configuration
)