-
Notifications
You must be signed in to change notification settings - Fork 24
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
Test types #231
Test types #231
Conversation
for more information, see https://pre-commit.ci
When I tried this out, it was flagging a lot of things from bumps... should we start there with fixing the types, or does it matter? |
Probably, yeah. (This is actually what prompted the asyncSocket thing and some of the other changes in the Was considering adding a lot of the same linting/formatting/type testing stuff we have in refl1d into bumps, because it feels a little weird to debug bumps via refl1d, and consistency between these projects would be really nice. so it'd be ideal to do things directly in bumps. Also because something in the config here isn't quite right, it shouldn't be checking |
Still probably want to add type testing to Bumps and fix things there first, but. Worth investigating as we'll probably need to fix it eventually. Additionally, getting a warning:
but again, no further info about what that unhandled error might be. |
can you build the client with --sourcemap and see if the console indicates which Promise is failing? |
builds just fine:
but running
|
ohhhh yeah, that would do it |
I did some debugging in the browser console... trapped the exceptions and looked at the variables when the exception was thrown, and saw that the string was an svg definition, and small, looking like an icon, then looked for places we are using inline svg. |
nice yeah, you'll have to show me how you did the trapping bit, that would have had me stuck for days |
Types test now passes against bumps's |
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.
These look good
Adds type testing to the webview client via
vue-tsc