- simplify test sample
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user