Running npm test is always returning a success exit code (0) even when unit tests failed, some wrong syntax is found or --forbid-focused is called with focused test cases.
This bug will break CI/CD system that rely on exit codes from the command because it will think that there are no failures after running the command
Running
npm test
is always returning a success exit code (0) even when unit tests failed, some wrong syntax is found or--forbid-focused
is called with focused test cases. This bug will break CI/CD system that rely on exit codes from the command because it will think that there are no failures after running the command