test: handle missing V8 tests in n-api test · nodejs/node@3fcc7e6 · GitHub
Skip to content

Commit 3fcc7e6

Browse files
cjihrigaddaleax
authored andcommitted
test: handle missing V8 tests in n-api test
The N-API test testInstanceOf.js relies on several V8 test files which may not exist in downloadable archives. If the files are missing, this commit causes a warning to be emitted rather than failing the test. Refs: #14113 Fixes: #13344 PR-URL: #14123 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent fe6ca44 commit 3fcc7e6

1 file changed

Lines changed: 19 additions & 11 deletions

File tree

test/addons-napi/test_general/testInstanceOf.js

Lines changed: 19 additions & 11 deletions

0 commit comments

Comments
 (0)