Skip to content

Commit

Permalink
fix: assertions for the iac output formats test to be more generic (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
andreeaneata authored Aug 9, 2023
1 parent 6c1f81b commit 20ddac3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/jest/acceptance/iac/output-formats/text.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ describe('iac test text output', () => {
EOL +
' Project name: fixtures' +
EOL.repeat(2) +
'✔ Files without issues: 0' +
EOL +
'✗ Files with issues: 3' +
EOL +
' Ignored issues: 12' +
EOL +
' Total issues: ',
'✔ Files without issues: ',
);

expect(stdout).toContain(EOL + '✗ Files with issues: ');

expect(stdout).toContain(EOL + ' Ignored issues: ');

expect(stdout).toContain(EOL + ' Total issues: ');
});

describe('with multiple test results', () => {
Expand Down

0 comments on commit 20ddac3

Please sign in to comment.