Display info from Jest test reports on your GNOME top bar.
-
jq command-line JSON processor.
sudo apt install jq
-
Copy
jest.sh
file to~/.config/argos
directory. -
Change permissions to
jest.sh
to executable.sudo chmod u+x jest.sh
- Run JEST and export json reports files
Jest export as json its reports when user --json
option. Checkout more on jest docs:
jest --watch --json --outputFile ~/.config/argos/jest-reports/test-result.json --coverage --coverageReporters="json-summary" --coverageReporters="html" --coverageDirectory ~/.config/argos/jest-reports/
If you use angular jest builders
ng test --watch --json --outputFile ~/.config/argos/test-result.json --coverage --coverageReporters="json-summary" --coverageReporters="html" --coverageDirectory ~/.config/argos/
- Enable extension by press click on menu option
- Check out argos docs then edit
jest.sh
file
Luis Reinoso MIT license