@@ -5,7 +5,7 @@ import logger from '../logger'
55import parser from './parser'
66import { debounce , throttle } from './throttle'
77import onError from '../sentry/onError'
8- import { clearOutput , displayOutput } from './output'
8+ import { clearOutput , addOutput } from './output'
99import { formatFailOutput } from './formatOutput'
1010
1111interface Callbacks {
@@ -51,7 +51,7 @@ const createTestRunner = (config: TT.TutorialTestRunnerConfig, callbacks: Callba
5151
5252const tap = parser ( stdout || '' )
5353
54- displayOutput ( { channel :logChannelName , text :tap . logs . join ( '\n' ) , show :false } )
54+ addOutput ( { channel :logChannelName , text :tap . logs . join ( '\n' ) , show :false } )
5555
5656if ( stderr ) {
5757// FAIL also trigger stderr
@@ -63,12 +63,12 @@ const createTestRunner = (config: TT.TutorialTestRunnerConfig, callbacks: Callba
6363}
6464callbacks . onFail ( position , failSummary )
6565const output = formatFailOutput ( tap )
66- displayOutput ( { channel :failChannelName , text :output , show :true } )
66+ addOutput ( { channel :failChannelName , text :output , show :true } )
6767return
6868} else {
6969callbacks . onError ( position )
7070// open terminal with error string
71- displayOutput ( { channel :failChannelName , text :stderr , show :true } )
71+ addOutput ( { channel :failChannelName , text :stderr , show :true } )
7272return
7373}
7474}