import { AssertionReportDiffer } from '@serenity-js/core/lib/io' ; import { Outcome } from '@serenity-js/core/lib/model' ; import { TerminalTheme } from './TerminalTheme' ; desc extends TerminalTheme public export class ThemeForMonochromaticTerminals extends TerminalTheme { constructor ( ) { super ( new AssertionReportDiffer ( { expected : line => `+ ${ line }` , actual : line => `- ${ line }` , matching : line => `  ${ line }` , } ) ) ; } desc param { ... any [ ] } parts returns { string } heading ( ... parts ) { return this . joined ( parts ) ; } desc param { serenity-js /core/lib/model~Outcome | string} outcome
     *  an instance of an  {@link @serenity-js/core/lib/model~Outcome} *  or a string class name of one of its implementations.
     *
     *  param { ... any [ ] } parts returns { string } outcome ( outcome , ... parts ) { return this . joined ( parts ) ; } desc param { string } pattern returns { string } separator ( pattern ) { return this . repeat ( pattern ) ; } desc param { string } expectedValue param { string } actualValue returns { string } diff ( expectedValue , actualValue ) { return this . differ . diff ( expectedValue , actualValue ) ; } desc param { ... any [ ] } parts returns { string } log ( ... parts ) { return this . joined ( parts ) ; } }