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: added tests for config #1063

Merged
merged 5 commits into from
Aug 28, 2019
Merged

Conversation

anikethsaha
Copy link
Member

What kind of change does this PR introduce?
Test

Did you add tests for your changes?
Yes

If relevant, did you update the documentation?
No

Summary
Added tests for config #1012

Does this PR introduce a breaking change?
No

Other information
More configs tests (advance) are coming soon. Just want to check if this way is fine by the team

@webpack-bot
Copy link

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

The paths in the tests are wrong. You should use node utilities. They will deal with the different OS

test/config/basic/basicConfig.test.js Outdated Show resolved Hide resolved
test/config/empty/emptyConfig.test.js Show resolved Hide resolved
@webpack-bot
Copy link

@anikethsaha Thanks for your update.

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

@ematipico Please review the new changes.

Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

Tests should not depend from each other

test/config/basic/basicConfig.test.js Show resolved Hide resolved
Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

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

lgtm, we can work with this

@ematipico ematipico merged commit 0f7185d into webpack:next Aug 28, 2019
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.

4 participants