()
| 47 | } |
| 48 | |
| 49 | function createPostsCollection() { |
| 50 | return createCollection( |
| 51 | mockSyncCollectionOptions<Post>({ |
| 52 | id: `case-when-posts`, |
| 53 | getKey: (post) => post.id, |
| 54 | initialData: samplePosts, |
| 55 | }), |
| 56 | ) |
| 57 | } |
| 58 | |
| 59 | function stripVirtualPropsAndSymbols(value: any): any { |
| 60 | if (Array.isArray(value)) { |
no test coverage detected