(autoIndex: `off` | `eager` = `eager`)
| 64 | ] |
| 65 | |
| 66 | function createIssuesCollection(autoIndex: `off` | `eager` = `eager`) { |
| 67 | return createCollection( |
| 68 | mockSyncCollectionOptions<Issue>({ |
| 69 | id: `subquery-test-issues`, |
| 70 | getKey: (issue) => issue.id, |
| 71 | initialData: sampleIssues, |
| 72 | autoIndex, |
| 73 | }), |
| 74 | ) |
| 75 | } |
| 76 | |
| 77 | function createSubqueryTests(autoIndex: `off` | `eager`): void { |
| 78 | describe(`with autoIndex ${autoIndex}`, () => { |
no test coverage detected
searching dependent graphs…