(data: object)
| 25 | } |
| 26 | |
| 27 | function createSSEChunk(data: object): Uint8Array { |
| 28 | return new TextEncoder().encode(`data: ${JSON.stringify(data)}\n\n`) |
| 29 | } |
| 30 | |
| 31 | describe('SSE_HEADERS', () => { |
| 32 | it.concurrent('should have correct Content-Type', () => { |