(stream: AsyncGenerator<CompilationChunk>)
| 30 | const PS = '\u2029'; |
| 31 | |
| 32 | async function drain(stream: AsyncGenerator<CompilationChunk>): Promise<CompilationChunk[]> { |
| 33 | const chunks: CompilationChunk[] = []; |
| 34 | for await (const chunk of stream) { |
| 35 | chunks.push(chunk); |
| 36 | } |
| 37 | return chunks; |
| 38 | } |
| 39 | |
| 40 | describe('sidecar JSON-RPC framing', () => { |
| 41 | it('preserves U+2028 / U+2029 in templates analyzed by the ng-analyze sidecar', async () => { |
no test coverage detected