fix(scripts/travis-tests): integration tests on branches

This commit is contained in:
Julien Fontanet
2019-03-27 15:45:16 +01:00
parent 0938804947
commit 16b3fbeb16

View File

@@ -32,11 +32,7 @@ if (process.env.TRAVIS_PULL_REQUEST !== 'false') {
if (files.length !== 0) {
run(
'./node_modules/.bin/jest',
[
'--testRegex=^(?!.*.integ.spec.js$).*.spec.js$',
'--findRelatedTests',
'--passWithNoTests',
].concat(files)
['--findRelatedTests', '--passWithNoTests'].concat(files)
)
}
} else {