@@ -105,7 +105,7 @@ test('run only changed files', () => {
105105 run ( `${ GIT } add .` , DIR ) ;
106106 run ( `${ GIT } commit --no-gpg-sign -m "second"` , DIR ) ;
107107
108- ( { stderr } = runJest ( DIR , [ '-o' ] ) ) ;
108+ ( { stdout } = runJest ( DIR , [ '-o' ] ) ) ;
109109 expect ( stdout ) . toMatch ( 'No tests found related to files' ) ;
110110
111111 writeFiles ( DIR , {
@@ -288,7 +288,7 @@ test('onlyChanged in config is overwritten by --all or testPathPattern', () => {
288288 run ( `${ GIT } add .` , DIR ) ;
289289 run ( `${ GIT } commit --no-gpg-sign -m "second"` , DIR ) ;
290290
291- ( { stderr } = runJest ( DIR ) ) ;
291+ ( { stdout } = runJest ( DIR ) ) ;
292292 expect ( stdout ) . toMatch ( 'No tests found related to files' ) ;
293293
294294 ( { stderr, stdout} = runJest ( DIR , [ 'file2.test.js' ] ) ) ;
@@ -333,7 +333,7 @@ testIfHg('gets changed files for hg', async () => {
333333 let stdout ;
334334 let stderr ;
335335
336- ( { stdout, stderr } = runJest ( DIR , [ '-o' ] ) ) ;
336+ ( { stdout} = runJest ( DIR , [ '-o' ] ) ) ;
337337 expect ( stdout ) . toMatch ( 'No tests found related to files changed' ) ;
338338
339339 writeFiles ( DIR , {
@@ -342,7 +342,7 @@ testIfHg('gets changed files for hg', async () => {
342342 'file3.js' : "require('./file2')" ,
343343 } ) ;
344344
345- ( { stdout , stderr} = runJest ( DIR , [ '-o' ] ) ) ;
345+ ( { stderr} = runJest ( DIR , [ '-o' ] ) ) ;
346346 expect ( stderr ) . toMatch ( / P A S S _ _ t e s t s _ _ ( \/ | \\ ) f i l e 2 .t e s t .j s / ) ;
347347
348348 run ( `${ HG } add .` , DIR ) ;
0 commit comments