(makeResponsePromise, rejection)
| 52 | } |
| 53 | |
| 54 | function testCompileStreamingRejection(makeResponsePromise, rejection) { |
| 55 | return testCompileStreaming(makeResponsePromise, common.mustCall((modPromise) => { |
| 56 | assert.strictEqual(modPromise.constructor, Promise); |
| 57 | return assert.rejects(modPromise, rejection); |
| 58 | }, 2)); |
| 59 | } |
| 60 | |
| 61 | function testCompileStreamingSuccessUsingFetch(responseCallback) { |
| 62 | return testCompileStreamingSuccess(() => testRequest(responseCallback)); |
no test coverage detected
searching dependent graphs…