Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
naming fixed
  • Loading branch information
mertcanaltin committed Sep 1, 2025
commit 1b36a6495c1dd1d1619ed8a608c91323e9b3453c
4 changes: 2 additions & 2 deletions test/js-native-api/test_sharedarraybuffer/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ const test_sharedarraybuffer = require(`./build/${common.buildType}/test_shareda
assert.strictEqual(test_sharedarraybuffer.TestIsSharedArrayBuffer(undefined), false);
}

// Test napi_create_sharedarraybuffer
// Test node_api_create_sharedarraybuffer
{
const sab = test_sharedarraybuffer.TestCreateSharedArrayBuffer(16);
assert(sab instanceof SharedArrayBuffer);
assert.strictEqual(sab.byteLength, 16);
}

// Test napi_get_sharedarraybuffer_info
// Test node_api_create_get_sharedarraybuffer_info
{
const sab = new SharedArrayBuffer(32);
const byteLength = test_sharedarraybuffer.TestGetSharedArrayBufferInfo(sab);
Expand Down