From 1f6e90cd3a3fdeb792d3b3e239ef015e81b76dfa Mon Sep 17 00:00:00 2001 From: maartenRamadan Date: Fri, 27 Oct 2023 15:08:30 +0200 Subject: [PATCH] fix: types --- src/utilities/outputParsers.spec.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/utilities/outputParsers.spec.ts b/src/utilities/outputParsers.spec.ts index 5708e1bb..1be919e0 100644 --- a/src/utilities/outputParsers.spec.ts +++ b/src/utilities/outputParsers.spec.ts @@ -1,3 +1,5 @@ +/* eslint-disable jest/max-expects */ + import * as actionsCore from '@actions/core'; import { Result } from 'semantic-release'; @@ -12,13 +14,17 @@ describe('reportResults', (): void => { const input: Result = { commits: [], lastRelease: { + channels: [], gitHead: 'ca39a3ee5e6b4b0d3255bfef95601890afd80708', gitTag: 'v1.1.0', + name: 'v1.1.0', version: '1.1.0', }, nextRelease: { + channel: 'latest', gitHead: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', gitTag: 'v1.1.1', + name: 'v1.1.1', notes: 'Note', type: 'patch', version: '1.1.1', @@ -53,13 +59,17 @@ describe('reportResults', (): void => { const input: Result = { commits: [], lastRelease: { + channels: [], gitHead: 'refs/heads/master', gitTag: '1.1.0', + name: '1.1.0', version: '1.1.0', }, nextRelease: { + channel: 'latest', gitHead: 'refs/heads/master', gitTag: '1.1.1-prerelease+build', + name: '1.1.1-prerelease+build', notes: 'Note', type: 'patch', version: '1.1.1-prerelease+build',