Skip to content

Commit 5a0e661

Browse files
thymikeecpojer
authored andcommitted
Use dot-reporter instead of silent-reporter on CI (#6653)
* 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
1 parent ff44548 commit 5a0e661

3 files changed

Lines changed: 7 additions & 18 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"istanbul-lib-coverage": "^1.0.0",
4545
"jasmine-reporters": "^2.2.0",
4646
"jest-junit": "^5.1.0",
47-
"jest-silent-reporter": "^0.0.5",
47+
"jest-simple-dot-reporter": "^1.0.2",
4848
"jquery": "^3.2.1",
4949
"karma": "^2.0.0",
5050
"karma-browserify": "^5.1.1",
@@ -90,8 +90,8 @@
9090
"postinstall": "opencollective postinstall && yarn build",
9191
"publish": "yarn build-clean && yarn build && lerna publish --silent",
9292
"test-ci-es5-build-in-browser": "karma start --single-run",
93-
"test-ci": "yarn jest-coverage -i --reporters jest-silent-reporter jest-junit && yarn test-leak && node scripts/mapCoverage.js && codecov",
94-
"test-ci-partial": "yarn jest -i --reporters jest-silent-reporter jest-junit",
93+
"test-ci": "yarn jest-coverage -i --reporters jest-simple-dot-reporter jest-junit && yarn test-leak && node scripts/mapCoverage.js && codecov",
94+
"test-ci-partial": "yarn jest -i --reporters jest-simple-dot-reporter jest-junit",
9595
"test-pretty-format-perf": "node packages/pretty-format/perf/test.js",
9696
"test-leak": "yarn jest -i --detectLeaks jest-mock jest-diff jest-repl",
9797
"test": "yarn typecheck && yarn lint && yarn jest",

packages/jest-runtime/src/__tests__/script_transformer.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ describe('ScriptTransformer', () => {
394394
const content =
395395
'var x = 1;\n' +
396396
'//# sourceMappingURL=data:application/json;base64,' +
397-
new Buffer(sourceMap).toString('base64');
397+
Buffer.from(sourceMap).toString('base64');
398398

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

yarn.lock

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,14 +2040,6 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0:
20402040
escape-string-regexp "^1.0.5"
20412041
supports-color "^5.3.0"
20422042

2043-
chalk@^2.3.1:
2044-
version "2.3.2"
2045-
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.2.tgz#250dc96b07491bfd601e648d66ddf5f60c7a5c65"
2046-
dependencies:
2047-
ansi-styles "^3.2.1"
2048-
escape-string-regexp "^1.0.5"
2049-
supports-color "^5.3.0"
2050-
20512043
character-entities-legacy@^1.0.0:
20522044
version "1.1.1"
20532045
resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.1.tgz#f40779df1a101872bb510a3d295e1fccf147202f"
@@ -6171,12 +6163,9 @@ jest-resolve@^22.4.2:
61716163
browser-resolve "^1.11.2"
61726164
chalk "^2.0.1"
61736165

6174-
jest-silent-reporter@^0.0.5:
6175-
version "0.0.5"
6176-
resolved "https://registry.yarnpkg.com/jest-silent-reporter/-/jest-silent-reporter-0.0.5.tgz#14139b7a991b7bcca880dd8a69c33a91723a8f1f"
6177-
dependencies:
6178-
chalk "^2.3.1"
6179-
jest-util "^23.0.0"
6166+
jest-simple-dot-reporter@^1.0.2:
6167+
version "1.0.2"
6168+
resolved "https://registry.yarnpkg.com/jest-simple-dot-reporter/-/jest-simple-dot-reporter-1.0.2.tgz#3af57740a1a4e63358d1718c9dad2aefe6196bbc"
61806169

61816170
jest-snapshot@^22.4.0:
61826171
version "22.4.3"

0 commit comments

Comments
 (0)