diff --git a/test/commands/lwc/test/run.nut.ts b/test/commands/lwc/test/run.nut.ts index 24ec3e0..498305e 100644 --- a/test/commands/lwc/test/run.nut.ts +++ b/test/commands/lwc/test/run.nut.ts @@ -56,8 +56,8 @@ describe('lightning:lwc:test:run', () => { const output = execCmd('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'); });