@@ -177,7 +177,7 @@ describe("Errors", () => {
177177 done ( ) ;
178178 } ) ;
179179 } ) ;
180- it . only ( "should show loader name when emit/throw an error or warning from a loader" , ( ) => {
180+ it ( "should show loader name when emit/throw an error or warning from a loader" , ( ) => {
181181 return Promise . all ( [
182182 getErrorsPromise ( {
183183 mode : "development" ,
@@ -196,10 +196,10 @@ describe("Errors", () => {
196196
197197 } , ( errors , warnings ) => {
198198 warnings . length . should . be . eql ( 1 ) ;
199- warnings [ 0 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e W a r n i n g \( f r o m e m i t - e r r o r - l o a d e r \) / ) ;
199+ warnings [ 0 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e W a r n i n g \( @ e m i t - e r r o r - l o a d e r \) / ) ;
200200 errors . length . should . be . eql ( 2 ) ;
201- errors [ 0 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e E r r o r \( f r o m e m i t - e r r o r - l o a d e r \) / ) ;
202- errors [ 1 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e b u i l d f a i l e d \( f r o m j s o n - l o a d e r \) / ) ;
201+ errors [ 0 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e E r r o r \( @ e m i t - e r r o r - l o a d e r \) / ) ;
202+ errors [ 1 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e b u i l d f a i l e d \( @ j s o n - l o a d e r \) / ) ;
203203 } ) ,
204204 getErrorsPromise ( {
205205 mode : "development" ,
@@ -213,7 +213,7 @@ describe("Errors", () => {
213213
214214 } , ( errors , warnings ) => {
215215 errors . length . should . be . eql ( 1 ) ;
216- errors [ 0 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e b u i l d f a i l e d \( f r o m a s y n c - e r r o r - l o a d e r \) / ) ;
216+ errors [ 0 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e b u i l d f a i l e d \( @ a s y n c - e r r o r - l o a d e r \) / ) ;
217217 } ) ,
218218 getErrorsPromise ( {
219219 mode : "development" ,
@@ -227,7 +227,7 @@ describe("Errors", () => {
227227
228228 } , ( errors , warnings ) => {
229229 errors . length . should . be . eql ( 1 ) ;
230- errors [ 0 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e b u i l d f a i l e d \( f r o m t h r o w - e r r o r - l o a d e r \) / ) ;
230+ errors [ 0 ] . split ( "\n" ) [ 1 ] . should . match ( / ^ M o d u l e b u i l d f a i l e d \( @ t h r o w - e r r o r - l o a d e r \) / ) ;
231231 } ) ,
232232
233233 ] ) ;
0 commit comments