Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenRamadan committed Oct 27, 2023
1 parent 5bfafc1 commit 1f6e90c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/utilities/outputParsers.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable jest/max-expects */

Check failure on line 1 in src/utilities/outputParsers.spec.ts

View workflow job for this annotation

GitHub Actions / Lint

Definition for rule 'jest/max-expects' was not found

import * as actionsCore from '@actions/core';
import { Result } from 'semantic-release';

Expand All @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 1f6e90c

Please sign in to comment.