@@ -48,14 +48,14 @@ function testCompileStreamingSuccess(makeResponsePromise) {
4848 return testCompileStreaming ( makeResponsePromise , common . mustCall ( async ( modPromise ) => {
4949 const mod = await modPromise ;
5050 assert . strictEqual ( mod . constructor , WebAssembly . Module ) ;
51- } ) ) ;
51+ } , 2 ) ) ;
5252}
5353
5454function testCompileStreamingRejection ( makeResponsePromise , rejection ) {
5555 return testCompileStreaming ( makeResponsePromise , common . mustCall ( ( modPromise ) => {
5656 assert . strictEqual ( modPromise . constructor , Promise ) ;
5757 return assert . rejects ( modPromise , rejection ) ;
58- } ) ) ;
58+ } , 2 ) ) ;
5959}
6060
6161function testCompileStreamingSuccessUsingFetch ( responseCallback ) {
@@ -76,7 +76,7 @@ function testCompileStreamingRejectionUsingFetch(responseCallback, rejection) {
7676 code : 'ERR_INVALID_ARG_TYPE' ,
7777 message : / ^ T h e " s o u r c e " a r g u m e n t .* $ /
7878 } ) ;
79- } ) ) ;
79+ } , 2 ) ) ;
8080 }
8181
8282 // When given a Promise, any rejection should be propagated as-is.
@@ -150,7 +150,7 @@ function testCompileStreamingRejectionUsingFetch(responseCallback, rejection) {
150150 res . end ( simpleWasmBytes . slice ( 8 ) ) ;
151151 }
152152 } ) ( 0 ) ;
153- } ) ) ;
153+ } , 2 ) ) ;
154154
155155 // A valid WebAssembly file with an empty parameter in the (otherwise valid)
156156 // MIME type.
@@ -245,5 +245,5 @@ function testCompileStreamingRejectionUsingFetch(responseCallback, rejection) {
245245 / ^ \s * a t h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : \d + \/ f o o \. w a s m : w a s m - f u n c t i o n \[ 0 \] : 0 x 2 2 $ / ) ;
246246 return true ;
247247 } ) ;
248- } ) ) ;
248+ } , 2 ) ) ;
249249} ) ( ) . then ( common . mustCall ( ) ) ;
0 commit comments