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 33const webpack = require ( "webpack" ) ;
44const Server = require ( "../../lib/Server" ) ;
55const config = require ( "../fixtures/client-config/webpack.config" ) ;
6+ const HTMLGeneratorPlugin = require ( "../helpers/html-generator-plugin" ) ;
67const runBrowser = require ( "../helpers/run-browser" ) ;
78const port = require ( "../ports-map" ) . stats ;
89
@@ -76,6 +77,7 @@ describe("stats", () => {
7677 ) ;
7778 } ,
7879 } ,
80+ new HTMLGeneratorPlugin ( ) ,
7981 ] ,
8082 stats : { warningsFilter : / W a r n i n g f r o m c o m p i l a t i o n / } ,
8183 } ,
@@ -99,6 +101,7 @@ describe("stats", () => {
99101 ) ;
100102 } ,
101103 } ,
104+ new HTMLGeneratorPlugin ( ) ,
102105 ] ,
103106 ignoreWarnings : [ / W a r n i n g f r o m c o m p i l a t i o n / ] ,
104107 } ,
@@ -123,7 +126,7 @@ describe("stats", () => {
123126 consoleMessages . push ( message ) ;
124127 } ) ;
125128
126- await page . goto ( `http://localhost:${ port } /main ` , {
129+ await page . goto ( `http://localhost:${ port } /` , {
127130 waitUntil : "networkidle0" ,
128131 } ) ;
129132
You can’t perform that action at this time.
0 commit comments