File tree Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -700,20 +700,6 @@ class Server {
700
700
) ;
701
701
}
702
702
703
- if (
704
- this . options . devMiddleware &&
705
- typeof this . options . devMiddleware . publicPath !== 'undefined'
706
- ) {
707
- this . logger . info (
708
- `webpack output is served from '${ colors . info (
709
- useColor ,
710
- this . options . devMiddleware . publicPath === 'auto'
711
- ? '/'
712
- : this . options . devMiddleware . publicPath
713
- ) } ' URL`
714
- ) ;
715
- }
716
-
717
703
if ( this . options . static && this . options . static . length > 0 ) {
718
704
this . logger . info (
719
705
`Content not from webpack is served from '${ colors . info (
Original file line number Diff line number Diff line change @@ -460,32 +460,12 @@ describe('CLI', () => {
460
460
. catch ( done ) ;
461
461
} ) ;
462
462
463
- it ( 'should log public path' , ( done ) => {
464
- testBin (
465
- '--no-color' ,
466
- path . resolve ( __dirname , '../fixtures/dev-public-path/webpack.config.js' )
467
- )
468
- . then ( ( output ) => {
469
- expect ( output . exitCode ) . toEqual ( 0 ) ;
470
- done ( ) ;
471
- } )
472
- . catch ( ( err ) => {
473
- // for windows
474
- expect ( err . stderr ) . toContain (
475
- "webpack output is served from '/foo/bar' URL"
476
- ) ;
477
- expect ( err . stdout ) . toContain ( 'main.js' ) ;
478
- done ( ) ;
479
- } ) ;
480
- } ) ;
481
-
482
463
it ( 'should log static' , ( done ) => {
483
464
testBin (
484
465
'--no-color' ,
485
466
path . resolve ( __dirname , '../fixtures/static/webpack.config.js' )
486
467
)
487
468
. then ( ( output ) => {
488
- console . log ( output ) ;
489
469
expect ( output . exitCode ) . toEqual ( 0 ) ;
490
470
done ( ) ;
491
471
} )
You can’t perform that action at this time.
0 commit comments