diff options
Diffstat (limited to 'test_napi/common.js')
-rw-r--r-- | test_napi/common.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test_napi/common.js b/test_napi/common.js index 5ad0e9cf3..ede045666 100644 --- a/test_napi/common.js +++ b/test_napi/common.js @@ -21,6 +21,8 @@ export function loadTestLibrary() { // Internal, used in ext/node const module = {}; - process.dlopen(module, specifier); + // Pass some flag, it should be ignored, but make sure it doesn't print + // warnings. + process.dlopen(module, specifier, 0); return module.exports; } |