(autoIndex: `off` | `eager` = `eager`)
| 111 | ] |
| 112 | |
| 113 | function createUsersCollection(autoIndex: `off` | `eager` = `eager`) { |
| 114 | return createCollection( |
| 115 | mockSyncCollectionOptions<User>({ |
| 116 | id: `test-users`, |
| 117 | getKey: (user) => user.id, |
| 118 | initialData: sampleUsers, |
| 119 | autoIndex, |
| 120 | }), |
| 121 | ) |
| 122 | } |
| 123 | |
| 124 | function createDistinctTests(autoIndex: `off` | `eager`): void { |
| 125 | describe(`with autoIndex ${autoIndex}`, () => { |
no test coverage detected