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

tests: improve --node-args test cases #1546

Merged
merged 3 commits into from
May 20, 2020

Conversation

snitin315
Copy link
Member

What kind of change does this PR introduce?
tests

Did you add tests for your changes?
Yes
If relevant, did you update the documentation?
NA
Summary
Improved test cases to check for the specific error messages.

Does this PR introduce a breaking change?
No

Other information

Copy link
Member

@anshumanv anshumanv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this error comes from Node.js, would it be a good idea to hardcode it like this?

@snitin315
Copy link
Member Author

snitin315 commented May 15, 2020

Actually it's hardcoded for --unknown flag case as well,

expect(stderr).toContain('bad option');

So it should be changed as well. Let's wait for other opinions as well.

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@snitin315 snitin315 closed this May 16, 2020
@snitin315 snitin315 reopened this May 16, 2020
@snitin315 snitin315 requested a review from anshumanv May 19, 2020 11:55
@webpack-bot
Copy link

@evilebottnawi Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@anshumanv Please review the new changes.

@snitin315
Copy link
Member Author

Good to merge?

@anshumanv anshumanv merged commit 21efa70 into webpack:next May 20, 2020
@snitin315 snitin315 added this to Done (Community Bonding) in GSoC 2021 Aug 6, 2020
@snitin315 snitin315 deleted the tests/node-args branch August 13, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
GSoC 2021
  
Done (Community Bonding)
Development

Successfully merging this pull request may close these issues.

None yet

7 participants