(app: any, context?: any)
| 50 | } |
| 51 | |
| 52 | const pipeToWritable = (app: any, context?: any) => { |
| 53 | const stream = new Transform({ |
| 54 | transform(data, _encoding, cb) { |
| 55 | this.push(data) |
| 56 | cb() |
| 57 | }, |
| 58 | }) |
| 59 | pipeToNodeWritable(app, context, stream) |
| 60 | return promisifyStream(stream) |
| 61 | } |
| 62 | |
| 63 | // we run the same tests twice, once for renderToString, once for renderToStream |
| 64 | testRender(`renderToString`, renderToString) |
nothing calls this directly
no test coverage detected