From 4bc1ce265f621eb69c6e0edff03a0506d80cc455 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Fri, 28 Jul 2023 07:03:53 +0000 Subject: [PATCH] - simplify test sample --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 47d761f..963ae0f 100644 --- a/README.md +++ b/README.md @@ -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 )