Skip to content
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

Merged
merged 4 commits into from
Aug 31, 2022

Conversation

nolanlawson
Copy link
Contributor

@nolanlawson nolanlawson commented Aug 31, 2022

See: #52 (comment)

@W-11466097

@@ -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/);
Copy link

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?

@nolanlawson nolanlawson force-pushed the nolan/fix-regex branch 2 times, most recently from a726279 to f98b6ac Compare August 31, 2022 20:43
@nolanlawson
Copy link
Contributor Author

@jye-sf The validate-pr tool apparently doesn't like it if we add extra commits here. So let's just leave the space in the regex.

@nolanlawson
Copy link
Contributor Author

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.

@nolanlawson nolanlawson reopened this Aug 31, 2022
@nolanlawson
Copy link
Contributor Author

Hm, that doesn't work either: #54

@nolanlawson nolanlawson changed the title test: update assertion to use regex for new DH (@W-11466097) test: update assertion to use regex for new DH (@W-11466097@) Aug 31, 2022
@nolanlawson nolanlawson merged commit 266c2fd into master Aug 31, 2022
@nolanlawson nolanlawson deleted the nolan/fix-regex branch August 31, 2022 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants