diff options
Diffstat (limited to 'test_napi/common.js')
-rw-r--r-- | test_napi/common.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test_napi/common.js b/test_napi/common.js index 915a43818..09378918f 100644 --- a/test_napi/common.js +++ b/test_napi/common.js @@ -17,5 +17,9 @@ const [libPrefix, libSuffix] = { export function loadTestLibrary() { const specifier = `${targetDir}/${libPrefix}test_napi.${libSuffix}`; - return Deno[Deno.internal].core.ops.op_napi_open(specifier); // Internal, used in ext/node + + // Internal, used in ext/node + return Deno[Deno.internal].core.ops.op_napi_open(specifier, { + Buffer: {}, + }); } |