File tree Expand file tree Collapse file tree 1 file changed +0
-40
lines changed Expand file tree Collapse file tree 1 file changed +0
-40
lines changed Original file line number Diff line number Diff line change @@ -293,46 +293,6 @@ describe('ContentBase', () => {
293293 } ) ;
294294 } ) ;
295295
296- describe ( 'testing single & multiple internal paths' , ( ) => {
297- afterAll ( ( done ) => {
298- testServer . close ( ( ) => {
299- done ( ) ;
300- } ) ;
301- } ) ;
302- it ( 'Should not throw exception (string)' , ( done ) => {
303- try {
304- // eslint-disable-next-line no-unused-vars
305- server = testServer . start ( config , {
306- port : 9002 ,
307- contentBase : contentBasePublic ,
308- watchContentBase : true ,
309- } ) ;
310-
311- server . close ( ( ) => {
312- done ( ) ;
313- } ) ;
314- } catch ( e ) {
315- expect ( true ) . toBe ( false ) ;
316- }
317- } ) ;
318- it ( 'Should not throw exception (array)' , ( done ) => {
319- try {
320- // eslint-disable-next-line no-unused-vars
321- server = testServer . start ( config , {
322- port : 9001 ,
323- contentBase : [ contentBasePublic , contentBaseOther ] ,
324- watchContentBase : true ,
325- } ) ;
326-
327- server . close ( ( ) => {
328- done ( ) ;
329- } ) ;
330- } catch ( e ) {
331- expect ( true ) . toBe ( false ) ;
332- }
333- } ) ;
334- } ) ;
335-
336296 describe ( 'default to PWD' , ( ) => {
337297 beforeAll ( ( done ) => {
338298 jest . spyOn ( process , 'cwd' ) . mockImplementation ( ( ) => contentBasePublic ) ;
You can’t perform that action at this time.
0 commit comments