CI is not detecting front end javascript test failures
Background
javascript front end tests are failing, but the CI is still green:
https://gitlab.com/alleles/ella/-/jobs/1658701531#L80
This is probably due to test framework not detecting the failure, it's also failing locally, but the tests keep running and doesn't count the error.
The tests can be run locally inside the container with:
/ella/node_modules/jest/bin/jest.js
Implementation
Need to look more into jest test framework, and see what options are available.
This might also be the assertions are wrongly implemented (the test failures are not surfaced like it should)
Edited by Tom