()
| 77 | } |
| 78 | |
| 79 | function createCommentsCollection() { |
| 80 | return createCollection( |
| 81 | mockSyncCollectionOptions<Comment>({ |
| 82 | id: `includes-comments`, |
| 83 | getKey: (c) => c.id, |
| 84 | initialData: sampleComments, |
| 85 | }), |
| 86 | ) |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Extracts child collection items as a sorted plain array for comparison. |
no test coverage detected