mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
bb91879f31
One of the N-API weak-reference test cases already had to be made asynchronous to handle different behavior in a newer V8 version: https://github.com/nodejs/node/pull/12864 When porting N-API to Node-ChakraCore, we found more of the test cases needed similar treatment: https://github.com/nodejs/node-chakracore/issues/246 So to make thes tests more robust (and avoid having differences in the test code for Node-ChakraCore), I am refactoring the tests in this file to insert a `setImmedate()` callback before every call to `gc()` and assertions about the effects of the GC. PR-URL: https://github.com/nodejs/node/pull/13121 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> |
||
---|---|---|
.. | ||
binding.gyp | ||
test_reference.c | ||
test.js |