-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
fix: Resolve webpack dependencies #251
Merged
evenstensberg
merged 10 commits into
webpack:master
from
sendilkumarn:webpack-cleanup/remove-webpack-deps
Feb 13, 2018
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
cf82edb
refactor: remove deps on webpack
sokra b8eaedf
clean up to remove webpack-deps
sendilkumarn 97fac94
fixing the error helper import
sendilkumarn 48c3bd9
fixing review comments
sendilkumarn b1252f6
fixing the errorhelper name
sendilkumarn 5ed3994
Merge branch 'master' into webpack-cleanup/remove-webpack-deps
sendilkumarn 230621b
Merge branch 'master' into webpack-cleanup/remove-webpack-deps
sendilkumarn e1b5cc9
adding tests for error helper and changing var to const
sendilkumarn 0606ecf
linting
sendilkumarn c919bcd
updating to webpack-4.0.0.beta1
sendilkumarn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"use strict"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 I understand that testing it isolated doesn't make much sense, but having some test checking for correct error output is already better then nothing :) |
||
|
||
module.exports = function testAssertions(code, stdout, stderr) { | ||
expect(code).toBe(1); | ||
|
||
expect(stdout).toHaveLength(0); | ||
|
||
expect(stderr[0]).toContain("Invalid configuration object."); | ||
expect(stderr[1]).toContain("configuration.context should be a string"); | ||
expect(stderr[2]).toContain("The base directory "); | ||
|
||
expect(stderr).toHaveLength(4); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
context: [__dirname], | ||
entry: "./index" | ||
}; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
was there a need for this change?