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

convertConfig Tests #703

Merged
merged 6 commits into from
Feb 12, 2020
Merged

convertConfig Tests #703

merged 6 commits into from
Feb 12, 2020

Conversation

jalextowle
Copy link
Contributor

Added tests for the convertConfig function that use the new framework.

@@ -2,6 +2,9 @@ const path = require('path');

module.exports = {
entry: './conversion-tests/conversion_test.ts',
node: {
fs: 'empty'
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Why was this necessary?

Copy link
Contributor Author

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.

rpc/clients/typescript/test/ws_client_test.ts Outdated Show resolved Hide resolved
@albrow
Copy link
Contributor

albrow commented Feb 6, 2020

Just some small suggestions. Looks pretty good overall.

@jalextowle jalextowle merged commit 0364937 into development Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants