mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* Add package for shared jest configurations for Lens applications, Features and libraries. Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Add root level script for running unit tests in monorepo mindset Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Ignore coverage files from VCS Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> --------- Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
7 lines
126 B
Bash
Executable File
7 lines
126 B
Bash
Executable File
jest --coverage --runInBand
|
|
result=$?
|
|
|
|
[ $result != 0 ] && [ -v $CI ] && open ./coverage/lcov-report/index.html
|
|
|
|
exit $result
|