1'use strict'; 2 3require('../common'); 4const assert = require('assert'); 5 6const someBindingPath = './test/addons/hello-world/build/Release/binding.node'; 7 8assert.throws(() => { 9 process.dlopen({ exports: undefined }, someBindingPath); 10}, Error); 11