We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd40a07 commit 81bc985Copy full SHA for 81bc985
test/addons-napi/test_general/test.js
@@ -93,4 +93,6 @@ assert.strictEqual(test_general.finalizeWasCalled(), false,
93
'finalize callback was not called upon garbage collection');
94
95
// test napi_adjust_external_memory
96
-assert.strictEqual(typeof test_general.testAdjustExternalMemory(), 'number');
+const adjustedValue = test_general.testAdjustExternalMemory();
97
+assert.strictEqual(typeof adjustedValue, 'number');
98
+assert(adjustedValue > 0);
0 commit comments