@@ -117,7 +117,7 @@ tape( 'the function throws a type error if provided more than one argument and t
117117} ) ;
118118
119119tape ( 'the function throws an error if an error is encountered while attempting to start a server' , function test ( t ) {
120- var httpServer = proxyquire ( './../lib/server .js' , {
120+ var httpServer = proxyquire ( './../lib/main .js' , {
121121 '@stdlib/net/http-server' : createServer ,
122122 '@stdlib/utils/open-url' : noop
123123 } ) ;
@@ -139,7 +139,7 @@ tape( 'the function throws an error if an error is encountered while attempting
139139tape ( 'both the options and callback arguments are optional' , function test ( t ) {
140140 var httpServer ;
141141
142- httpServer = proxyquire ( './../lib/server .js' , {
142+ httpServer = proxyquire ( './../lib/main .js' , {
143143 '@stdlib/net/http-server' : createServer ,
144144 '@stdlib/utils/open-url' : noop
145145 } ) ;
@@ -167,7 +167,7 @@ tape( 'both the options and callback arguments are optional', function test( t )
167167tape ( 'the callback argument is optional (options)' , function test ( t ) {
168168 var httpServer ;
169169
170- httpServer = proxyquire ( './../lib/server .js' , {
170+ httpServer = proxyquire ( './../lib/main .js' , {
171171 '@stdlib/net/http-server' : createServer ,
172172 '@stdlib/utils/open-url' : noop
173173 } ) ;
@@ -197,7 +197,7 @@ tape( 'the callback argument is optional (options)', function test( t ) {
197197tape ( 'the options argument is optional (callback)' , function test ( t ) {
198198 var httpServer ;
199199
200- httpServer = proxyquire ( './../lib/server .js' , {
200+ httpServer = proxyquire ( './../lib/main .js' , {
201201 '@stdlib/utils/open-url' : noop
202202 } ) ;
203203
@@ -222,7 +222,7 @@ tape( 'if provided a `dir` option from which to serve files, the function resolv
222222 var dir ;
223223 var flg ;
224224
225- httpServer = proxyquire ( './../lib/server .js' , {
225+ httpServer = proxyquire ( './../lib/main .js' , {
226226 '@stdlib/net/http-server' : createServer ,
227227 '@stdlib/utils/open-url' : noop ,
228228 './request_listener.js' : requestListener
@@ -273,7 +273,7 @@ tape( 'if the `open` option is `true`, the function will attempt to open a user\
273273 'open' : true
274274 } ;
275275
276- httpServer = proxyquire ( './../lib/server .js' , {
276+ httpServer = proxyquire ( './../lib/main .js' , {
277277 '@stdlib/utils/open-url' : openURL
278278 } ) ;
279279
0 commit comments