(autoIndex: `off` | `eager` = `eager`)
| 157 | } |
| 158 | |
| 159 | function createUsersCollection(autoIndex: `off` | `eager` = `eager`) { |
| 160 | return createCollection( |
| 161 | mockSyncCollectionOptions<User>({ |
| 162 | id: `join-subquery-test-users`, |
| 163 | getKey: (user) => user.id, |
| 164 | initialData: sampleUsers, |
| 165 | autoIndex, |
| 166 | }), |
| 167 | ) |
| 168 | } |
| 169 | |
| 170 | function createProfilesCollection(autoIndex: `off` | `eager` = `eager`) { |
| 171 | return createCollection( |
no test coverage detected