chore: update lance to 31.1-beta.2 (#2487)

This commit is contained in:
Wyatt Alt
2025-07-07 12:53:16 -07:00
committed by GitHub
parent dbccd9e4f1
commit 6b2dd6de51
3 changed files with 78 additions and 80 deletions

View File

@@ -368,9 +368,9 @@ describe("merge insert", () => {
{ a: 4, b: "z" },
];
expect(
JSON.parse(JSON.stringify((await table.toArrow()).toArray())),
).toEqual(expected);
const result = (await table.toArrow()).toArray().sort((a, b) => a.a - b.a);
expect(result.map((row) => ({ ...row }))).toEqual(expected);
});
test("conditional update", async () => {
const newData = [