MCPcopy Index your code
hub / github.com/nodejs/node / testCompileStreamingRejection

Function testCompileStreamingRejection

test/es-module/test-wasm-web-api.js:54–59  ·  view source on GitHub ↗
(makeResponsePromise, rejection)

Source from the content-addressed store, hash-verified

52}
53
54function 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
61function testCompileStreamingSuccessUsingFetch(responseCallback) {
62 return testCompileStreamingSuccess(() => testRequest(responseCallback));

Calls 1

testCompileStreamingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…