()
| 39 | } |
| 40 | |
| 41 | function createPosts() { |
| 42 | return createCollection( |
| 43 | mockSyncCollectionOptions<Post>({ |
| 44 | id: `case-when-type-posts`, |
| 45 | getKey: (post) => post.id, |
| 46 | initialData: [], |
| 47 | }), |
| 48 | ) |
| 49 | } |
| 50 | |
| 51 | describe(`caseWhen types`, () => { |
| 52 | test(`infers scalar branch values`, () => { |
no test coverage detected