(autoIndex: `off` | `eager` = `eager`)
| 190 | } |
| 191 | |
| 192 | function createTrialsCollection(autoIndex: `off` | `eager` = `eager`) { |
| 193 | return createCollection( |
| 194 | mockSyncCollectionOptions({ |
| 195 | id: `join-subquery-test-trials`, |
| 196 | getKey: (item) => `${item.productId}-${item.userId}`, |
| 197 | initialData: sampleTrials, |
| 198 | autoIndex, |
| 199 | }), |
| 200 | ) |
| 201 | } |
| 202 | |
| 203 | function createJoinSubqueryTests(autoIndex: `off` | `eager`): void { |
| 204 | describe(`with autoIndex ${autoIndex}`, () => { |
no test coverage detected
searching dependent graphs…