Closed yatki closed 5 years ago
Added --passWithNotests
flag for jest:integration
and jest:functional
as the absence of tests makes Jenkins fail.
Jest added to Jenkins script and create a command that executes all tests for a certain type e.g. unit
. However, using this command, the success/failure of the separate commands are lost between all the logs as they execute in parallel.
Todo @yatki
.code-coverage
from root to test as the coverage from Mocha is located under /test
. If doing so, check Jenkins script cleanup function (post step
) for the Jest steps as paths need to be changed.We can safely remove the --passWithNotests
flag in package.json
script for running Jest
tests whenever we have tests for each type (functional
and integration
).
Expected behavior
"npm test:unit": "run-p mocha:unit jest:unit"
Actual behavior
Steps to reproduce
Which version(s) does this affect? (Environment, OS, etc...)
1.6.0