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

How to prevent long errors when unit testing Uint8Array #752

Closed
kolpav opened this issue Jul 15, 2016 · 2 comments
Closed

How to prevent long errors when unit testing Uint8Array #752

kolpav opened this issue Jul 15, 2016 · 2 comments

Comments

@kolpav
Copy link

kolpav commented Jul 15, 2016

Hello,
I am having problem with unit testing anything with Uint8Array because on fail it throws error which prints every element of the array. Even for small arrays the amount of text is quite significant. When I am trying to test array with few thousands elements the console simply freezes, with bunch of phantomjs erros.

image
image

@keithamus
Copy link
Member

Hey @kolpav thanks for the issue.

We're working on this right now. Our inspection tool, Loupe, is undergoing a rewrite to make for much friendlier messages for arrays like that. We don't have an issue just for tracking loupe, but we do have #457. It'll hopefully be ready within the next few months.

I'll close this, as #457 will have the info you want. It's definitely on the cards though 😄

@kolpav
Copy link
Author

kolpav commented Jul 15, 2016

@keithamus Thanks for the info.
Keep up a good work! 👍

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

No branches or pull requests

2 participants