Skip to content

Commit

Permalink
test: update assertion to use regex for new DH (@W-11466097)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele authored and nolanlawson committed Aug 31, 2022
1 parent 9a8bcd0 commit 4e1e6bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/commands/lwc/test/run.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ describe('lightning:lwc:test:run', () => {
const output = execCmd<RunResult>('force:lightning:lwc:test:run', {
ensureExitCode: 0,
}).shellOutput.stderr;
expect(output).to.include('Test Suites: 13 passed, 13 total');
expect(output).to.include('Tests: 65 passed, 65 total');
expect(output).to.match(/Test Suites:\s+\d+ passed,\s+\d+\s+total/);
expect(output).to.match(/Tests:\s+\d+\s+passed,\s+\d+\s+total/);
expect(output).to.include('Snapshots: 0 total');
expect(output).to.include('PASS');
});
Expand Down

0 comments on commit 4e1e6bc

Please sign in to comment.