summaryrefslogtreecommitdiff
path: root/test_napi/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'test_napi/common.js')
-rw-r--r--test_napi/common.js4
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;
}