Conversation
Otherwise a failed test may not restore it.
6352335 to
9e1e7a2
Compare
fatso83
left a comment
There was a problem hiding this comment.
This looks like a great start! I'll leave this for next week, as I am off to a train to the mountains. Thanks!
fatso83
left a comment
There was a problem hiding this comment.
Seems pretty ready for inclusion. Just added some comments. You are free to object.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2539 +/- ##
==========================================
+ Coverage 95.73% 95.95% +0.21%
==========================================
Files 40 40
Lines 1901 1904 +3
==========================================
+ Hits 1820 1827 +7
+ Misses 81 77 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Could you just address this and I'll merge 😄 |
Purpose (TL;DR) - mandatory
Add the
.define(obj, property, value)method to the sandbox to allow temporarily define properties on the objects (i.e. until the sandbox is restored).Fixes #2195
How to verify - mandatory
Run the tests
Checklist for author
npm run lintpasses