Update custom.test.ts in README.md
This commit is contained in:
@@ -569,16 +569,17 @@ npm test -- custom.test.ts
|
|||||||
<p>
|
<p>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
import {resolveConfiguration} from '../src/utils'
|
import {mergeConfiguration, resolveConfiguration} from '../src/utils'
|
||||||
import {ReleaseNotesBuilder} from '../src/releaseNotesBuilder'
|
import {ReleaseNotesBuilder} from '../src/releaseNotesBuilder'
|
||||||
|
import {Configuration} from '../src/configuration';
|
||||||
|
|
||||||
jest.setTimeout(180000)
|
jest.setTimeout(180000)
|
||||||
|
|
||||||
it('Test custom changelog builder', async () => {
|
it('Test custom changelog builder', async () => {
|
||||||
const configuration = resolveConfiguration(
|
const configuration = mergeConfiguration(undefined, resolveConfiguration(
|
||||||
'',
|
'',
|
||||||
'configs_test/configuration_approvers.json'
|
'configs_test/configuration_approvers.json'
|
||||||
)
|
)) as Configuration;
|
||||||
const releaseNotesBuilder = new ReleaseNotesBuilder(
|
const releaseNotesBuilder = new ReleaseNotesBuilder(
|
||||||
null, // baseUrl
|
null, // baseUrl
|
||||||
null, // token
|
null, // token
|
||||||
|
|||||||
Reference in New Issue
Block a user