(status: string)
| 86 | } |
| 87 | |
| 88 | function statusQuery(status: string): FilterQuery { |
| 89 | return { |
| 90 | type: "group", |
| 91 | id: "root", |
| 92 | conjunction: "and", |
| 93 | children: [ |
| 94 | { |
| 95 | type: "condition", |
| 96 | id: "status", |
| 97 | property: "status", |
| 98 | operator: "is", |
| 99 | value: status, |
| 100 | }, |
| 101 | ], |
| 102 | sortKey: "due", |
| 103 | sortDirection: "asc", |
| 104 | groupKey: "none", |
| 105 | }; |
| 106 | } |
| 107 | |
| 108 | describe("filter cache indexing", () => { |
| 109 | it("returns new filter options immediately after indexed fields change", async () => { |
no outgoing calls
no test coverage detected