- introduce better more stable fallbacks in case the configuration is missing

- move configurations into subfolder for easier discovery
- simplify missing value fallback specification
This commit is contained in:
Mike Penz
2020-10-17 18:02:08 +02:00
parent 619d3f460e
commit b464ff088a
8 changed files with 140 additions and 68 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ test('test runs', () => {
it('Should have empty changelog (tags)', async () => {
jest.setTimeout(180000)
const configuration = readConfiguration('configs/configuration.json')
const configuration = readConfiguration('configs/configuration.json')!!
const releaseNotes = new ReleaseNotes({
owner: 'mikepenz',
repo: 'release-changelog-builder-action',
@@ -42,7 +42,7 @@ it('Should have empty changelog (tags)', async () => {
it('Should match generated changelog (tags)', async () => {
jest.setTimeout(180000)
const configuration = readConfiguration('configuration.json')
const configuration = readConfiguration('configs/configuration.json')!!
const releaseNotes = new ReleaseNotes({
owner: 'mikepenz',
repo: 'release-changelog-builder-action',
@@ -65,7 +65,7 @@ it('Should match generated changelog (tags)', async () => {
it('Should match generated changelog (unspecified fromTag)', async () => {
jest.setTimeout(180000)
const configuration = readConfiguration('configuration.json')
const configuration = readConfiguration('configs/configuration.json')!!
const releaseNotes = new ReleaseNotes({
owner: 'mikepenz',
repo: 'release-changelog-builder-action',