(makeResponsePromise)
| 45 | } |
| 46 | |
| 47 | function testCompileStreamingSuccess(makeResponsePromise) { |
| 48 | return testCompileStreaming(makeResponsePromise, common.mustCall(async (modPromise) => { |
| 49 | const mod = await modPromise; |
| 50 | assert.strictEqual(mod.constructor, WebAssembly.Module); |
| 51 | }, 2)); |
| 52 | } |
| 53 | |
| 54 | function testCompileStreamingRejection(makeResponsePromise, rejection) { |
| 55 | return testCompileStreaming(makeResponsePromise, common.mustCall((modPromise) => { |
no test coverage detected
searching dependent graphs…