node/test/addons-napi/test_reference
Gabriel Schulhof af62c8fff7 n-api: update reference test
Remove the necessity for allocating on the heap, and assert that the
correct pointer gets passed to the finalizer.

Backport-PR-URL: https://github.com/nodejs/node/pull/19447
PR-URL: https://github.com/nodejs/node/pull/19086
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2018-04-16 17:46:17 -04:00
..
binding.gyp n-api: Reference and external tests 2018-04-16 17:45:51 -04:00
test.js test: replace string concat with template literal 2018-04-16 17:46:02 -04:00
test_reference.c n-api: update reference test 2018-04-16 17:46:17 -04:00