mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
LibJS: Fix byteOffset copy-paste error in TypedArray buffer test
This commit is contained in:
parent
c8db607c00
commit
275092bb03
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ test("basic functionality", () => {
|
|||
if (!isBigIntArray) typedArray = new T([1, 2, 3]);
|
||||
else typedArray = new T([1n, 2n, 3n]);
|
||||
|
||||
expect(Object.hasOwn(typedArray, "byteOffset")).toBeFalse();
|
||||
expect(Object.hasOwn(typedArray, "buffer")).toBeFalse();
|
||||
|
||||
const buffer = typedArray.buffer;
|
||||
expect(buffer).toBeInstanceOf(ArrayBuffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue