(id: string, tags: string[], extra = {})
| 62 | ); |
| 63 | |
| 64 | const open = (id: string, tags: string[], extra = {}) => |
| 65 | act(() => { |
| 66 | emitPatchyEvent({ |
| 67 | type: 'post_open', |
| 68 | tags, |
| 69 | post: { id, tags, readTime: 4, ...extra }, |
| 70 | }); |
| 71 | }); |
| 72 | |
| 73 | describe('usePatchyAssistant', () => { |
| 74 | beforeEach(() => { |
no test coverage detected