(autoIndex: `off` | `eager` = `eager`)
| 230 | } |
| 231 | |
| 232 | function createDepartmentsCollection(autoIndex: `off` | `eager` = `eager`) { |
| 233 | return createCollection( |
| 234 | mockSyncCollectionOptions<Department>({ |
| 235 | id: `test-departments`, |
| 236 | getKey: (department) => department.id, |
| 237 | initialData: departmentData, |
| 238 | autoIndex, |
| 239 | }), |
| 240 | ) |
| 241 | } |
| 242 | |
| 243 | function createEmployeesWithNullableCollection( |
| 244 | autoIndex: `off` | `eager` = `eager`, |
no test coverage detected