New answers tagged

1

The jest command gives an exit code 1 if a test failed, 0 if all tests succeeded. You could create a bash shell script that looks something like this: #!/bin/bash jest if [ $? -eq 0 ] then echo "The tests succeeded" exit 0 else echo "The tests failed, running jest again" jest fi Reads: https://stackoverflow.com/questions/...


Top 50 recent answers are included