Skip to content

Commit

Permalink
Use dot-reporter instead of silent-reporter on CI (#6653)
Browse files Browse the repository at this point in the history
* Make travis wait 20mins instead of 10 for no output

* use jest-dot-reporter instead of jest-silent-reporter (sorry Rick)

* update package.json

* use simple-dot-reporter
  • Loading branch information
thymikee authored and cpojer committed Jul 7, 2018
1 parent ff44548 commit 5a0e661
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"istanbul-lib-coverage": "^1.0.0",
"jasmine-reporters": "^2.2.0",
"jest-junit": "^5.1.0",
"jest-silent-reporter": "^0.0.5",
"jest-simple-dot-reporter": "^1.0.2",
"jquery": "^3.2.1",
"karma": "^2.0.0",
"karma-browserify": "^5.1.1",
Expand Down Expand Up @@ -90,8 +90,8 @@
"postinstall": "opencollective postinstall && yarn build",
"publish": "yarn build-clean && yarn build && lerna publish --silent",
"test-ci-es5-build-in-browser": "karma start --single-run",
"test-ci": "yarn jest-coverage -i --reporters jest-silent-reporter jest-junit && yarn test-leak && node scripts/mapCoverage.js && codecov",
"test-ci-partial": "yarn jest -i --reporters jest-silent-reporter jest-junit",
"test-ci": "yarn jest-coverage -i --reporters jest-simple-dot-reporter jest-junit && yarn test-leak && node scripts/mapCoverage.js && codecov",
"test-ci-partial": "yarn jest -i --reporters jest-simple-dot-reporter jest-junit",
"test-pretty-format-perf": "node packages/pretty-format/perf/test.js",
"test-leak": "yarn jest -i --detectLeaks jest-mock jest-diff jest-repl",
"test": "yarn typecheck && yarn lint && yarn jest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ describe('ScriptTransformer', () => {
const content =
'var x = 1;\n' +
'//# sourceMappingURL=data:application/json;base64,' +
new Buffer(sourceMap).toString('base64');
Buffer.from(sourceMap).toString('base64');

require('preprocessor-with-sourcemaps').process.mockReturnValue(content);

Expand Down
17 changes: 3 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2040,14 +2040,6 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0:
escape-string-regexp "^1.0.5"
supports-color "^5.3.0"

chalk@^2.3.1:
version "2.3.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.2.tgz#250dc96b07491bfd601e648d66ddf5f60c7a5c65"
dependencies:
ansi-styles "^3.2.1"
escape-string-regexp "^1.0.5"
supports-color "^5.3.0"

character-entities-legacy@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.1.tgz#f40779df1a101872bb510a3d295e1fccf147202f"
Expand Down Expand Up @@ -6171,12 +6163,9 @@ jest-resolve@^22.4.2:
browser-resolve "^1.11.2"
chalk "^2.0.1"

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"
dependencies:
chalk "^2.3.1"
jest-util "^23.0.0"
jest-simple-dot-reporter@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/jest-simple-dot-reporter/-/jest-simple-dot-reporter-1.0.2.tgz#3af57740a1a4e63358d1718c9dad2aefe6196bbc"

jest-snapshot@^22.4.0:
version "22.4.3"
Expand Down

0 comments on commit 5a0e661

Please sign in to comment.