()
| 881 | |
| 882 | // `teams.id` is indexed; `members` has no index. |
| 883 | const makeTeamsCollection = () => |
| 884 | createCollection( |
| 885 | mockSyncCollectionOptions<Team>({ |
| 886 | id: `lazy-join-teams`, |
| 887 | getKey: (r) => r.id, |
| 888 | autoIndex: `eager`, |
| 889 | defaultIndexType: BTreeIndex, |
| 890 | initialData: [{ id: `t1` }], |
| 891 | }), |
| 892 | ) |
| 893 | const makeMembersCollection = () => |
| 894 | createCollection( |
| 895 | mockSyncCollectionOptions<Member>({ |
no test coverage detected