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