Skip to content

Commit

Permalink
test: tweak regex (@W-11466097)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed Aug 31, 2022
1 parent 4e1e6bc commit a726279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/commands/lwc/test/run.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('lightning:lwc:test:run', () => {
const output = execCmd<RunResult>('force:lightning:lwc:test:run', {
ensureExitCode: 0,
}).shellOutput.stderr;
expect(output).to.match(/Test Suites:\s+\d+ passed,\s+\d+\s+total/);
expect(output).to.match(/Test Suites:\s+\d+\s+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 a726279

Please sign in to comment.