Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I hide angular build progress output when running tests from karma?

I am configuring a build process for an Angular 4 application and would like to silence progress output as it muddies the runner's logs.

The project configs were generated using angular cli (v1.0.1)

Using ng build, it is possible to pass a --no-progress flag to silence the build/compilation progress output.

Is it possible to configure karma in a way to silence progress output for the build it performs before tests are run?

like image 458
yenta Avatar asked Apr 28 '17 11:04

yenta


1 Answers

Use the --progress flag. It works for ng build and ng serve as well.

ng test --progress=false

like image 110
Mezo Istvan Avatar answered Sep 19 '22 15:09

Mezo Istvan