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

Function testCompileStreamingSuccess

test/es-module/test-wasm-web-api.js:47–52  ·  view source on GitHub ↗
(makeResponsePromise)

Source from the content-addressed store, hash-verified

45}
46
47function 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
54function testCompileStreamingRejection(makeResponsePromise, rejection) {
55 return testCompileStreaming(makeResponsePromise, common.mustCall((modPromise) => {

Calls 1

testCompileStreamingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…