Skip to content

Commit

Permalink
Merge pull request #8120 from rickhanlonii/rh-silent-reporter
Browse files Browse the repository at this point in the history
Re-enable jest-silent-reporter #hacktoberfest
  • Loading branch information
sokra committed Oct 3, 2018
2 parents 9fe42e7 + 0b6ad2a commit 4c461e2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Expand Up @@ -22,27 +22,27 @@ matrix:
include:
- os: linux
node_js: "10"
env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=basic
env: NO_WATCH_TESTS=1 JEST_SILENT_REPORTER_DOTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache --reporters jest-silent-reporter" JOB_PART=basic
stage: basic
- os: linux
node_js: "10"
env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=lint-unit
env: NO_WATCH_TESTS=1 JEST_SILENT_REPORTER_DOTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache --reporters jest-silent-reporter" JOB_PART=lint-unit
stage: advanced
- os: linux
node_js: "10"
env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration
env: NO_WATCH_TESTS=1 JEST_SILENT_REPORTER_DOTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache --reporters jest-silent-reporter" JOB_PART=integration
stage: advanced
- os: osx
node_js: "10"
env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration
env: NO_WATCH_TESTS=1 JEST_SILENT_REPORTER_DOTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache --reporters jest-silent-reporter" JOB_PART=integration
stage: versions
- os: linux
node_js: "8"
env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration
env: NO_WATCH_TESTS=1 JEST_SILENT_REPORTER_DOTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache --reporters jest-silent-reporter" JOB_PART=integration
stage: versions
- os: linux
node_js: "6"
env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration
env: NO_WATCH_TESTS=1 JEST_SILENT_REPORTER_DOTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache --reporters jest-silent-reporter" JOB_PART=integration
stage: versions
fast_finish: true
allow_failures:
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Expand Up @@ -27,7 +27,8 @@ matrix:
test_script:
- node --version
- yarn --version
- cmd: set JEST=--maxWorkers=2 --cacheDirectory .jest-cache
- cmd: set JEST_SILENT_REPORTER_DOTS=1
- cmd: set JEST=--maxWorkers=2 --cacheDirectory .jest-cache --reporters=jest-silent-reporter
- cmd: yarn appveyor:integration
- cmd: yarn istanbul report --report lcovonly
- cmd: yarn unlink webpack
Expand Down
10 changes: 6 additions & 4 deletions azure-pipelines.yml
Expand Up @@ -96,13 +96,14 @@ jobs:
displayName: "Install dependencies"
- script: |
set -e
set JEST_SILENT_REPORTER_DOTS=1
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
yarn cover:init
yarn cover:integration "test/(?!TestCases)" --ci --maxWorkers=2
yarn cover:integration "test/(?!TestCases)" --ci --maxWorkers=2 --reporters=jest-silent-reporter
mv coverage/coverage-final.json coverage/coverage-final-1.json
yarn cover:integration "test/TestCasesD" --ci --maxWorkers=2
yarn cover:integration "test/TestCasesD" --ci --maxWorkers=2 --reporters=jest-silent-reporter
mv coverage/coverage-final.json coverage/coverage-final-2.json
yarn cover:integration "test/TestCases(?!D)" --ci --maxWorkers=2
yarn cover:integration "test/TestCases(?!D)" --ci --maxWorkers=2 --reporters=jest-silent-reporter
mv coverage/coverage-final.json coverage/coverage-final-3.json
displayName: "Run tests with coverage"
- job: macos
Expand Down Expand Up @@ -188,5 +189,6 @@ jobs:
displayName: "Install dependencies"
- script: |
set -e
yarn cover:init && yarn cover:integration "test/(?!TestCases)" --ci --maxWorkers=2 && move coverage\\coverage-final.json coverage\\coverage-final-1.json && yarn cover:integration "test/TestCasesD" --ci --maxWorkers=2 && move coverage\\coverage-final.json coverage\\coverage-final-2.json && yarn cover:integration "test/TestCases(?!D)" --ci --maxWorkers=2 && move coverage\\coverage-final.json coverage\\coverage-final-3.json
set JEST_SILENT_REPORTER_DOTS=1
yarn cover:init && yarn cover:integration "test/(?!TestCases)" --ci --maxWorkers=2 --reporters=jest-silent-reporter && move coverage\\coverage-final.json coverage\\coverage-final-1.json && yarn cover:integration "test/TestCasesD" --ci --maxWorkers=2 --reporters=jest-silent-reporter && move coverage\\coverage-final.json coverage\\coverage-final-2.json && yarn cover:integration "test/TestCases(?!D)" --ci --maxWorkers=2 --reporters=jest-silent-reporter && move coverage\\coverage-final.json coverage\\coverage-final-3.json
displayName: "Run tests with coverage"
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -56,7 +56,7 @@
"jade": "^1.11.0",
"jade-loader": "~0.8.0",
"jest": "^23.4.1",
"jest-silent-reporter": "^0.0.5",
"jest-silent-reporter": "^0.1.1",
"json-loader": "^0.5.7",
"json-schema-to-typescript": "^6.0.1",
"less": "^2.5.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -4182,10 +4182,10 @@ jest-serializer@^23.0.1:
resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-23.0.1.tgz#a3776aeb311e90fe83fab9e533e85102bd164165"
integrity sha1-o3dq6zEekP6D+rnlM+hRAr0WQWU=

jest-silent-reporter@^0.0.5:
version "0.0.5"
resolved "https://registry.yarnpkg.com/jest-silent-reporter/-/jest-silent-reporter-0.0.5.tgz#14139b7a991b7bcca880dd8a69c33a91723a8f1f"
integrity sha512-LWNEJEeI9jbqOaNyqmnLWyEJXaNlDMCDqX6NbY89pzgerb3iExky56zD5oBvh+nvgzEND9cjL57EhifaAJBhjw==
jest-silent-reporter@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/jest-silent-reporter/-/jest-silent-reporter-0.1.1.tgz#2580704abf6245009f486fbea68f697dd7db2f48"
integrity sha512-nrRzOV4151hG354tnVWfyZbFGJdylpadRWYWWPSD+WeOz2hQOjUGxvIFODnaY9cKQ7JWCtG+5LgSss22ccRhBg==
dependencies:
chalk "^2.3.1"
jest-util "^23.0.0"
Expand Down

0 comments on commit 4c461e2

Please sign in to comment.