File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ require("should");
44
55describe ( "removed plugin errors" , ( ) => {
66 it ( "should error when accessing removed plugins" , ( ) => {
7- ( ( ) => webpack . optimize . UglifyJsPlugin ) . should . throw (
8- RemovedPluginError ,
9- / w e b p a c k \. o p t i m i z e \. U g l i f y J s P l u g i n h a s b e e n r e m o v e d , p l e a s e u s e c o n f i g \. o p t i m i z a t i o n \. m i n i m i z e i n s t e a d \. /
10- ) ;
7+ ( ( ) => webpack . optimize . UglifyJsPlugin ) . should . throw ( RemovedPluginError , {
8+ message : / w e b p a c k \. o p t i m i z e \. U g l i f y J s P l u g i n h a s b e e n r e m o v e d , p l e a s e u s e c o n f i g \. o p t i m i z a t i o n \. m i n i m i z e i n s t e a d \. /
9+ } ) ;
1110
1211 ( ( ) => webpack . optimize . CommonsChunkPlugin ) . should . throw (
1312 RemovedPluginError ,
14- / w e b p a c k \. o p t i m i z e \. C o m m o n s C h u n k P l u g i n h a s b e e n r e m o v e d , p l e a s e u s e c o n f i g \. o p t i m i z a t i o n \. s p l i t C h u n k s i n s t e a d \. /
13+ {
14+ message : / w e b p a c k \. o p t i m i z e \. C o m m o n s C h u n k P l u g i n h a s b e e n r e m o v e d , p l e a s e u s e c o n f i g \. o p t i m i z a t i o n \. s p l i t C h u n k s i n s t e a d \. /
15+ }
1516 ) ;
1617 } ) ;
1718} ) ;
You can’t perform that action at this time.
0 commit comments