Make sorting/limit more resilient in repository

This commit is contained in:
Jon Staab
2025-10-28 13:23:25 -07:00
parent 8b8e3a6a51
commit 3132b8c59a
15 changed files with 16 additions and 24 deletions
@@ -154,10 +154,6 @@ describe("Repository", () => {
repo = new Repository()
})
it("should throw on invalid queries", () => {
expect(() => repo.query([{limit: 10}], {shouldSort: false})).toThrow()
})
it("should query by ids", () => {
const event = createEvent(1)
repo.publish(event)