diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-02-21 14:22:49 +0100 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-02-27 13:14:54 +0100 |
commit | 87ecef1b3768eaa980083c466a5adf25e5748d44 (patch) | |
tree | 19fbb14f0e456a1a50027a2f514cabf6e53f7d3d /server/sonar-web/package.json | |
parent | 1fb04a27673f0ed8f89c6a5cd09372c3e8b9ff96 (diff) | |
download | sonarqube-87ecef1b3768eaa980083c466a5adf25e5748d44.tar.gz sonarqube-87ecef1b3768eaa980083c466a5adf25e5748d44.zip |
add --passWithNoTests to precommit jest configuration
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r-- | server/sonar-web/package.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index da0674593e1..56658e361e8 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -168,7 +168,12 @@ "gitDir": "../../", "linters": { "*.{css,json}": ["prettier --write", "git add"], - "*.{js,ts,tsx}": ["eslint", "jest --bail --findRelatedTests", "prettier --write", "git add"] + "*.{js,ts,tsx}": [ + "eslint", + "jest --bail --passWithNoTests --findRelatedTests", + "prettier --write", + "git add" + ] } } } |