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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 馃 remove stale tests for standard flag and instances #1545

Merged
merged 5 commits into from
May 20, 2020

Conversation

anshumanv
Copy link
Member

What kind of change does this PR introduce?
Cleanup instances of standard flag, not supported anymore

Did you add tests for your changes?
Yes

If relevant, did you update the documentation?
Yes

Summary

  • standard flag is no longer supported, remove it's instances.

Does this PR introduce a breaking change?
No

Other information

@anshumanv anshumanv requested a review from a team as a code owner May 15, 2020 02:50
Comment on lines -4 to -5
it('should print standard output', () => {
const { stdout, stderr } = run(__dirname);
Copy link
Member

Choose a reason for hiding this comment

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

I think this test is not for --standard flag but the default webpack output (referred to as standard). Please correct me if I'm wrong.

Copy link
Member Author

Choose a reason for hiding this comment

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

No, this was used for --standard, but later --standard was dropped from the test when flag was removed.

Copy link
Member

Choose a reason for hiding this comment

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

So, do we have another test for default output or we don't need one?

Copy link
Member Author

Choose a reason for hiding this comment

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

zero-config

Copy link
Member Author

Choose a reason for hiding this comment

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

I've added the things missing there, from this test we removed.

snitin315
snitin315 previously approved these changes May 15, 2020
@alexander-akait
Copy link
Member

/cc @webpack/cli-team

@rishabh3112
Copy link
Member

rishabh3112 commented May 20, 2020

Let's wait for #1508 to be merged as that PR also has changes for plugin tests and those changes could be conflicting with changes here.

@alexander-akait alexander-akait merged commit be767a4 into webpack:next May 20, 2020
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.

None yet

6 participants