mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +00:00
LibJS: Fix byteOffset copy-paste error in TypedArray buffer test
This commit is contained in:
parent
c8db607c00
commit
275092bb03
Notes:
sideshowbarker
2024-07-18 10:19:19 +09:00
Author: https://github.com/Lubrsi
Commit: 275092bb03
Pull-request: https://github.com/SerenityOS/serenity/pull/8481
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