@@ -71,7 +71,7 @@ tape( 'the function is a constructor', opts, function test( t ) {
7171 var mod ;
7272
7373 wasm = new Uint8Array ( [ 0x00 , 0x61 , 0x73 , 0x6d , 0x01 , 0x00 , 0x00 , 0x00 ] ) ;
74- mod = new Module ( wasm , { } ) ;
74+ mod = new Module ( wasm , null ) ;
7575
7676 t . strictEqual ( mod instanceof Module , true , 'returns expected value' ) ;
7777 t . end ( ) ;
@@ -83,7 +83,7 @@ tape( 'the function returns an instance having an `initialize` method which retu
8383 var p ;
8484
8585 wasm = new Uint8Array ( [ 0x00 , 0x61 , 0x73 , 0x6d , 0x01 , 0x00 , 0x00 , 0x00 ] ) ;
86- mod = new Module ( wasm , { } ) ;
86+ mod = new Module ( wasm , null ) ;
8787 p = mod . initialize ( ) ;
8888
8989 t . strictEqual ( typeof p . then , 'function' , 'returns expected value' ) ;
@@ -95,7 +95,7 @@ tape( 'the function returns an instance having an `initialize` method which retu
9595 var mod ;
9696
9797 wasm = new Uint8Array ( [ 0x00 , 0x61 , 0x73 , 0x6d , 0x01 , 0x00 , 0x00 , 0x00 ] ) ;
98- mod = new Module ( wasm , { } ) ;
98+ mod = new Module ( wasm , null ) ;
9999
100100 mod . initialize ( ) . then ( onResolve , onReject ) ;
101101
@@ -116,7 +116,7 @@ tape( 'the function returns an instance having an `initializeAsync` method which
116116 var mod ;
117117
118118 wasm = new Uint8Array ( [ 0x00 , 0x61 , 0x73 , 0x6d , 0x01 , 0x00 , 0x00 , 0x00 ] ) ;
119- mod = new Module ( wasm , { } ) ;
119+ mod = new Module ( wasm , null ) ;
120120
121121 mod . initializeAsync ( clbk ) ;
122122
@@ -135,7 +135,7 @@ tape( 'the function returns an instance having an `initializeAsync` method which
135135 var mod ;
136136
137137 wasm = new Uint8Array ( [ 0x00 , 0x61 , 0x73 , 0x6d , 0x01 , 0x00 , 0x00 , 0x00 ] ) ;
138- mod = new Module ( wasm , { } ) ;
138+ mod = new Module ( wasm , null ) ;
139139
140140 mod . initializeAsync ( clbk ) ;
141141
@@ -156,7 +156,7 @@ tape( 'the function returns an instance having an `exports` property which is av
156156 var mod ;
157157
158158 wasm = new Uint8Array ( [ 0x00 , 0x61 , 0x73 , 0x6d , 0x01 , 0x00 , 0x00 , 0x00 ] ) ;
159- mod = new Module ( wasm , { } ) ;
159+ mod = new Module ( wasm , null ) ;
160160
161161 mod . initialize ( ) . then ( onResolve , onReject ) ;
162162
0 commit comments