(autoIndex: `off` | `eager` = `eager`)
| 222 | ] |
| 223 | |
| 224 | function createEmployeesCollection(autoIndex: `off` | `eager` = `eager`) { |
| 225 | return createCollection( |
| 226 | mockSyncCollectionOptions<Employee>({ |
| 227 | id: `test-employees`, |
| 228 | getKey: (emp) => emp.id, |
| 229 | initialData: sampleEmployees, |
| 230 | autoIndex, |
| 231 | }), |
| 232 | ) |
| 233 | } |
| 234 | |
| 235 | function createWhereTests(autoIndex: `off` | `eager`): void { |
| 236 | describe(`with autoIndex ${autoIndex}`, () => { |
no test coverage detected