Skip to content
Open
Changes from all commits
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
2 changes: 1 addition & 1 deletion packages/zarrita/__tests__/indexing/set.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test("Read and write array data - builtin", async () => {
expected.fill(42);
expect((await get(a, null)).data).toStrictEqual(expected);

let arr = ndarray(new Int32Array([...Array(10).keys()]), [10]);
let arr = ndarray(new Int32Array(Array(10).keys()), [10]);
expected.set(arr.data);
await set(a, [0, null], arr);
expect((await get(a, null)).data).toStrictEqual(expected);
Expand Down