(autoIndex: `off` | `eager` = `eager`)
| 96 | ] |
| 97 | |
| 98 | function createUsersCollection(autoIndex: `off` | `eager` = `eager`) { |
| 99 | return createCollection( |
| 100 | mockSyncCollectionOptions<User>({ |
| 101 | id: `test-users`, |
| 102 | getKey: (user) => user.id, |
| 103 | initialData: sampleUsers, |
| 104 | autoIndex, |
| 105 | }), |
| 106 | ) |
| 107 | } |
| 108 | |
| 109 | function createBasicTests(autoIndex: `off` | `eager`) { |
| 110 | describe(`with autoIndex ${autoIndex}`, () => { |
no test coverage detected
searching dependent graphs…