Skip to content

Commit de507dc

Browse files
committed
fix: print to stderr
1 parent 553886f commit de507dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Reporter.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ export default class ReactReporter extends BaseReporter {
284284
options={options}
285285
globalConfig={this._globalConfig}
286286
/>,
287-
{ experimental: true },
287+
// TODO: should respect `GlobalConfig.useStderr`? Jest itself does not: https://github.com/facebook/jest/issues/5064
288+
{ experimental: true, stdout: process.stderr },
288289
);
289290

290291
this._waitUntilExit = waitUntilExit;

0 commit comments

Comments
 (0)