We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f060881 commit 8336e4fCopy full SHA for 8336e4f
test/parallel/test-process-dlopen-undefined-exports.js
@@ -0,0 +1,10 @@
1
+'use strict';
2
+
3
+require('../common');
4
+const assert = require('assert');
5
6
+const someBindingPath = './test/addons/hello-world/build/Release/binding.node';
7
8
+assert.throws(() => {
9
+ process.dlopen({ exports: undefined }, someBindingPath);
10
+}, Error);
0 commit comments