(category: `A` | `B` | `C`, where: any)
| 3820 | |
| 3821 | describe(`Query Garbage Collection`, () => { |
| 3822 | const isCategory = (category: `A` | `B` | `C`, where: any) => { |
| 3823 | return ( |
| 3824 | where && |
| 3825 | where.type === `func` && |
| 3826 | where.name === `eq` && |
| 3827 | where.args[0].path[0] === `category` && |
| 3828 | where.args[1].value === category |
| 3829 | ) |
| 3830 | } |
| 3831 | |
| 3832 | it(`should delete all rows when a single query is garbage collected`, async () => { |
| 3833 | const queryKey = [`single-query-gc-test`] |