-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update goja #2851
Update goja #2851
Conversation
Hmm, looking at the goja diff in Also, a small k6 test on our side is probably a good idea, to make sure this doesn't repeat. We plan to potentially make changes to Finally, this comment dop251/goja#471 (comment) makes it seem like there might be other follow-up changes in goja in the near future, should we wait? |
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.
🙇
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.
fixes #2849
modcache tricked me 🤦 . I did previous to that test it with a local replace - I have no bumped it.
This IMO is blocked on the integration test refactor so I am going to wait on that.
Given that this fixes this exact problem and the other might fix other problems that we haven't noticed I see no point in waiting - especially as we don't have a particular thing that we expect will be fixed. |
What should be the case for the test? Getting the correct error when the test is aborted from a nested function? Is an integration test required or can we do it with a unit test?
I agree |
That is arguably already tested in goja. I am much more interested in an integration test at this point that even if inside a group the error will go through to the end and will be handled correctly. |
It is somewhat blocked by the integration tests refactor, though you can just edit this current integration test to just abort from a Lines 986 to 1005 in 60b8b15
Since most of the logic is actually in |
Codecov Report
@@ Coverage Diff @@
## master #2851 +/- ##
==========================================
- Coverage 76.19% 76.17% -0.03%
==========================================
Files 213 213
Lines 16606 16606
==========================================
- Hits 12653 12649 -4
- Misses 3182 3188 +6
+ Partials 771 769 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
❤️
fixes #2849