Skip to content

Commit f5b1ba2

Browse files
committed
Update jest-worker to support tty
1 parent ed06aee commit f5b1ba2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/createJestRunner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const createRunner = runPath => {
1818
const worker = new Worker(runPath, {
1919
exposedMethods: ['default'],
2020
numWorkers: this._globalConfig.maxWorkers,
21+
forkOptions: { stdio: 'inherit' },
2122
});
2223

2324
const runTestInWorker = test => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"babel-plugin-istanbul": "4.1.4",
2323
"babel-polyfill": "^6.26.0",
2424
"babel-register": "6.26.0",
25-
"jest-worker": "21.3.0-beta.2",
25+
"jest-worker": "21.3.0-beta.9",
2626
"lodash": "4.17.4",
2727
"minimatch": "3.0.4",
2828
"mocha": "3.5.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,9 +2130,9 @@ jest-validate@^21.0.2:
21302130
leven "^2.1.0"
21312131
pretty-format "^21.0.2"
21322132

2133-
2134-
version "21.3.0-beta.2"
2135-
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-21.3.0-beta.2.tgz#05eba2afe4bffffdba6fb0a49016b628382b8234"
2133+
2134+
version "21.3.0-beta.9"
2135+
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-21.3.0-beta.9.tgz#0be9bf38ea7e77a22d21d01098e90e0ce8a7867f"
21362136
dependencies:
21372137
merge-stream "^1.0.1"
21382138

0 commit comments

Comments
 (0)