(autoIndex: `off` | `eager` = `eager`)
| 219 | ] |
| 220 | |
| 221 | function createEmployeesCollection(autoIndex: `off` | `eager` = `eager`) { |
| 222 | return createCollection( |
| 223 | mockSyncCollectionOptions<Employee>({ |
| 224 | id: `test-employees`, |
| 225 | getKey: (employee) => employee.id, |
| 226 | initialData: employeeData, |
| 227 | autoIndex, |
| 228 | }), |
| 229 | ) |
| 230 | } |
| 231 | |
| 232 | function createDepartmentsCollection(autoIndex: `off` | `eager` = `eager`) { |
| 233 | return createCollection( |
no test coverage detected