@@ -113,7 +113,7 @@ describe("RequireJsStuffPlugin", () => {
113113 const addDependencySpy = parserEventContext . state . current . addDependency ;
114114 const addedDependency = JSON . stringify ( addDependencySpy . getCall ( 0 ) . args [ 0 ] ) ;
115115 addDependencySpy . callCount . should . be . exactly ( 1 ) ;
116- addedDependency . should . be . exactly ( '{"module":null,"expression":"undefined","range":10,"loc":5}' ) ;
116+ addedDependency . should . be . exactly ( '{"module":null,"weak":false," expression":"undefined","range":10,"loc":5}' ) ;
117117 } ) ;
118118 } ) ;
119119 } ) ;
@@ -132,7 +132,7 @@ describe("RequireJsStuffPlugin", () => {
132132 const addDependencySpy = parserEventContext . state . current . addDependency ;
133133 const addedDependency = JSON . stringify ( addDependencySpy . getCall ( 0 ) . args [ 0 ] ) ;
134134 addDependencySpy . callCount . should . be . exactly ( 1 ) ;
135- addedDependency . should . be . exactly ( '{"module":null,"expression":"undefined","range":10,"loc":5}' ) ;
135+ addedDependency . should . be . exactly ( '{"module":null,"weak":false," expression":"undefined","range":10,"loc":5}' ) ;
136136 } ) ;
137137 } ) ;
138138 } ) ;
@@ -151,7 +151,7 @@ describe("RequireJsStuffPlugin", () => {
151151 const addDependencySpy = parserEventContext . state . current . addDependency ;
152152 const addedDependency = JSON . stringify ( addDependencySpy . getCall ( 0 ) . args [ 0 ] ) ;
153153 addDependencySpy . callCount . should . be . exactly ( 1 ) ;
154- addedDependency . should . be . exactly ( '{"module":null,"expression":"\\"0.0.0\\"","range":10,"loc":5}' ) ;
154+ addedDependency . should . be . exactly ( '{"module":null,"weak":false," expression":"\\"0.0.0\\"","range":10,"loc":5}' ) ;
155155 } ) ;
156156 } ) ;
157157 } ) ;
@@ -170,7 +170,7 @@ describe("RequireJsStuffPlugin", () => {
170170 const addDependencySpy = parserEventContext . state . current . addDependency ;
171171 const addedDependency = JSON . stringify ( addDependencySpy . getCall ( 0 ) . args [ 0 ] ) ;
172172 addDependencySpy . callCount . should . be . exactly ( 1 ) ;
173- addedDependency . should . be . exactly ( '{"module":null,"expression":"__webpack_require__.oe","range":10,"loc":5}' ) ;
173+ addedDependency . should . be . exactly ( '{"module":null,"weak":false," expression":"__webpack_require__.oe","range":10,"loc":5}' ) ;
174174 } ) ;
175175 } ) ;
176176 } ) ;
0 commit comments