mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
LibJS: Make a TypedArray test actually run on all different types
This commit is contained in:
parent
80f23abd0a
commit
66d07a452f
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ test("TypedArray is abstract", () => {
|
|||
|
||||
TYPED_ARRAYS.forEach(T => {
|
||||
test(`all numeric indices are valid on ${T.name}`, () => {
|
||||
const newTypedArray = new Float32Array([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]);
|
||||
const newTypedArray = new T([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]);
|
||||
expect(newTypedArray).toHaveLength(10);
|
||||
|
||||
function PoisonError() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue