File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const { resolve } = require('path');
8
8
const testServer = require ( '../helpers/test-server' ) ;
9
9
const reloadConfig = require ( '../fixtures/reload-config/webpack.config' ) ;
10
10
const runBrowser = require ( '../helpers/run-browser' ) ;
11
+ const port = require ( '../ports-map' ) . Progress ;
11
12
12
13
const cssFilePath = resolve ( __dirname , '../fixtures/reload-config/main.css' ) ;
13
14
@@ -19,7 +20,7 @@ describe('client progress', () => {
19
20
'body { background-color: rgb(0, 0, 255); }'
20
21
) ;
21
22
const options = {
22
- port : 9000 ,
23
+ port,
23
24
host : '0.0.0.0' ,
24
25
inline : true ,
25
26
hot : true ,
@@ -56,7 +57,7 @@ describe('client progress', () => {
56
57
} ) ;
57
58
} ) ;
58
59
59
- page . goto ( ' http://localhost:9000 /main' ) ;
60
+ page . goto ( ` http://localhost:${ port } /main` ) ;
60
61
page . on ( 'console' , ( { _text } ) => {
61
62
res . push ( _text ) ;
62
63
} ) ;
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ const portsList = {
35
35
'sockPath-option' : 1 ,
36
36
'stats-option' : 1 ,
37
37
ProvidePlugin : 1 ,
38
+ Progress : 1 ,
38
39
} ;
39
40
40
41
let startPort = 8079 ;
You can’t perform that action at this time.
0 commit comments