Skip to content

Commit

Permalink
test: adjust testing according to last changes
Browse files Browse the repository at this point in the history
  • Loading branch information
olavoparno committed Dec 7, 2021
1 parent c65f8c3 commit ac26caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('Tests istanbul badges readme', () => {
3,
'https://github.com/olavoparno/istanbul-badges-readme/blob/master/README.md',
);
expect(processExitSpy).toHaveBeenCalledWith(1);
expect(processExitSpy).toHaveBeenCalledWith(getExitCodeOnError());
})
.finally(() => {
expect(consoleInfoFn).toHaveBeenCalledWith('Istanbul Badges Readme process finished');
Expand Down

0 comments on commit ac26caf

Please sign in to comment.