-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: update assertion to use regex for new DH (@W-11466097@) #53
Conversation
test/commands/lwc/test/run.nut.ts
Outdated
@@ -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/); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Why do we have \s+\d+
with a space here when all the rest have \s+\d+\s+
with no space?
a726279
to
f98b6ac
Compare
@jye-sf The |
f98b6ac
to
4e1e6bc
Compare
Ah wait, that's not it. It's just totally borked for some reason. I'll open a brand new PR to satisfy the CI gods. |
Hm, that doesn't work either: #54 |
See: #52 (comment)
@W-11466097