-
Notifications
You must be signed in to change notification settings - Fork 111
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
convertConfig Tests #703
convertConfig Tests #703
Conversation
5501160
to
e81d52b
Compare
fc661e9
to
59bd9d9
Compare
@@ -2,6 +2,9 @@ const path = require('path'); | |||
|
|||
module.exports = { | |||
entry: './conversion-tests/conversion_test.ts', | |||
node: { | |||
fs: 'empty' | |||
}, |
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.
Why was this necessary?
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.
For some reason, we get an error that is close to "cannot resolve "fs" in @0x/dev-utils". After doing some reading, this is actually a bug in webpack and is fixed by adding this line. This is the issue I referred to find this solution: webpack-contrib/css-loader#447. After reading the issue again, I'm going dig into this a bit more on a low-priority cycle, because it seems like there is a better way to fix this.
Just some small suggestions. Looks pretty good overall. |
f7bb1d3
to
2980ff0
Compare
Added tests for the
convertConfig
function that use the new framework.