(autoIndex: `off` | `eager` = `eager`)
| 146 | ] |
| 147 | |
| 148 | function createIssuesCollection(autoIndex: `off` | `eager` = `eager`) { |
| 149 | return createCollection( |
| 150 | mockSyncCollectionOptions<Issue>({ |
| 151 | id: `join-subquery-test-issues`, |
| 152 | getKey: (issue) => issue.id, |
| 153 | initialData: sampleIssues, |
| 154 | autoIndex, |
| 155 | }), |
| 156 | ) |
| 157 | } |
| 158 | |
| 159 | function createUsersCollection(autoIndex: `off` | `eager` = `eager`) { |
| 160 | return createCollection( |
no test coverage detected