Fix some tests

This commit is contained in:
Jon Staab
2025-04-08 10:17:30 -07:00
parent 1f7101daee
commit 74b20da8fb
11 changed files with 144 additions and 376 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ describe("collection", () => {
})
await col.loadItem("1")
expect(mockLoad).toHaveBeenCalledWith("1")
expect(mockLoad).toHaveBeenCalledWith("1", [])
})
it("should handle concurrent loading of the same item", async () => {
@@ -212,7 +212,7 @@ describe("collection", () => {
})
col.deriveItem("1")
expect(mockLoad).toHaveBeenCalledWith("1")
expect(mockLoad).toHaveBeenCalledWith("1", [])
})
})