import { IReporter } from '../runtime/IReporter' ; import { TraceData , TestEvent , CompoundMeasurement , MeasurementKind } from '../types/Report' ; import { TestScriptError } from '../runtime/TestScriptError' ; export class EmptyReporter implements IReporter { public responseCode : string ; public stepName : string ; reset ( step ) { } addMeasurement ( measurement , value , label ? ) { } addCompoundMeasurement ( measurement , value , label ) { } addTrace ( traceData , label ) { } async flushMeasurements ( ) { } testLifecycle ( event , label ) { } testInternalError ( message , err ) { } testAssertionError ( err ) { } testStepError ( err ) { } testScriptConsole ( method , message ? , ... optionalParams ) { console [ method ] ( message , ... optionalParams ) ; } }