(autoIndex: `off` | `eager` = `eager`)
| 168 | } |
| 169 | |
| 170 | function createProfilesCollection(autoIndex: `off` | `eager` = `eager`) { |
| 171 | return createCollection( |
| 172 | mockSyncCollectionOptions<Profile>({ |
| 173 | id: `join-subquery-test-profiles`, |
| 174 | getKey: (profile) => profile.id, |
| 175 | initialData: sampleProfiles, |
| 176 | autoIndex, |
| 177 | }), |
| 178 | ) |
| 179 | } |
| 180 | |
| 181 | function createProductsCollection(autoIndex: `off` | `eager` = `eager`) { |
| 182 | return createCollection( |
no test coverage detected
searching dependent graphs…