(autoIndex: `off` | `eager` = `eager`)
| 61 | } |
| 62 | |
| 63 | function createDepartmentsCollection(autoIndex: `off` | `eager` = `eager`) { |
| 64 | return createCollection( |
| 65 | mockSyncCollectionOptions<Department>({ |
| 66 | id: `test-departments`, |
| 67 | getKey: (dept) => dept.id, |
| 68 | initialData: sampleDepartments, |
| 69 | autoIndex, |
| 70 | }), |
| 71 | ) |
| 72 | } |
| 73 | |
| 74 | // Join types to test |
| 75 | const joinTypes = [`inner`, `left`, `right`, `full`] as const |
no test coverage detected
searching dependent graphs…