File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3
3
const webpack = require ( "webpack" ) ;
4
4
const Server = require ( "../../lib/Server" ) ;
5
5
const config = require ( "../fixtures/client-config/webpack.config" ) ;
6
+ const HTMLGeneratorPlugin = require ( "../helpers/html-generator-plugin" ) ;
6
7
const runBrowser = require ( "../helpers/run-browser" ) ;
7
8
const port = require ( "../ports-map" ) . stats ;
8
9
@@ -76,6 +77,7 @@ describe("stats", () => {
76
77
) ;
77
78
} ,
78
79
} ,
80
+ new HTMLGeneratorPlugin ( ) ,
79
81
] ,
80
82
stats : { warningsFilter : / W a r n i n g f r o m c o m p i l a t i o n / } ,
81
83
} ,
@@ -99,6 +101,7 @@ describe("stats", () => {
99
101
) ;
100
102
} ,
101
103
} ,
104
+ new HTMLGeneratorPlugin ( ) ,
102
105
] ,
103
106
ignoreWarnings : [ / W a r n i n g f r o m c o m p i l a t i o n / ] ,
104
107
} ,
@@ -123,7 +126,7 @@ describe("stats", () => {
123
126
consoleMessages . push ( message ) ;
124
127
} ) ;
125
128
126
- await page . goto ( `http://localhost:${ port } /main ` , {
129
+ await page . goto ( `http://localhost:${ port } /` , {
127
130
waitUntil : "networkidle0" ,
128
131
} ) ;
129
132
You can’t perform that action at this time.
0 commit comments