@@ -289,6 +289,12 @@ describe('Basic end-to-end Workflow', function () {
289
289
expect ( existsSync ( coverageReport ) ) . to . be . equal ( true ) ;
290
290
} ) ;
291
291
292
+ it ( 'Make sure that LCOV file is generated inside coverage folder' , function ( ) {
293
+ const lcovReport = path . join ( process . cwd ( ) , 'coverage' , 'coverage.lcov' ) ;
294
+
295
+ expect ( existsSync ( lcovReport ) ) . to . be . equal ( true ) ;
296
+ } ) ;
297
+
292
298
it ( 'moves all files that live inside `public` into `dist`' , function ( ) {
293
299
this . timeout ( 420000 ) ;
294
300
@@ -375,8 +381,8 @@ describe('Basic end-to-end Workflow', function () {
375
381
let lessFile = path . join ( componentPath , lessFilename ) ;
376
382
let lessExample = '.outer {\n .inner { background: #fff; }\n }' ;
377
383
let componentContents = fs . readFileSync ( componentFile , 'utf8' ) ;
378
-
379
- sh . mv ( cssFile , lessFile ) ;
384
+
385
+ sh . mv ( cssFile , lessFile ) ;
380
386
fs . writeFileSync ( lessFile , lessExample , 'utf8' ) ;
381
387
fs . writeFileSync ( componentFile , componentContents . replace ( new RegExp ( cssFilename , 'g' ) , lessFilename ) , 'utf8' ) ;
382
388
@@ -402,8 +408,8 @@ describe('Basic end-to-end Workflow', function () {
402
408
let stylusFile = path . join ( componentPath , stylusFilename ) ;
403
409
let stylusExample = '.outer {\n .inner { background: #fff; }\n }' ;
404
410
let componentContents = fs . readFileSync ( componentFile , 'utf8' ) ;
405
-
406
- sh . mv ( cssFile , stylusFile ) ;
411
+
412
+ sh . mv ( cssFile , stylusFile ) ;
407
413
fs . writeFileSync ( stylusFile , stylusExample , 'utf8' ) ;
408
414
fs . writeFileSync ( componentFile , componentContents . replace ( new RegExp ( cssFilename , 'g' ) , stylusFilename ) , 'utf8' ) ;
409
415
0 commit comments