\hypertarget{md_sfcode_node_modules_jasmine_spec_reporter_examples_typescript_README_autotoc_md13907}{}\doxysection{Configuration}\label{md_sfcode_node_modules_jasmine_spec_reporter_examples_typescript_README_autotoc_md13907}

\begin{DoxyCode}{0}
\DoxyCodeLine{import \{DisplayProcessor, SpecReporter, StacktraceOption\} from "{}jasmine-\/spec-\/reporter"{};}
\DoxyCodeLine{import SuiteInfo = jasmine.SuiteInfo;}
\DoxyCodeLine{}
\DoxyCodeLine{class CustomProcessor extends DisplayProcessor \{}
\DoxyCodeLine{    public displayJasmineStarted(info: SuiteInfo, log: string): string \{}
\DoxyCodeLine{        return `TypeScript \$\{log\}`;}
\DoxyCodeLine{    \}}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{jasmine.getEnv().clearReporters();}
\DoxyCodeLine{jasmine.getEnv().addReporter(new SpecReporter(\{}
\DoxyCodeLine{    spec: \{}
\DoxyCodeLine{        displayStacktrace: StacktraceOption.NONE}
\DoxyCodeLine{    \},}
\DoxyCodeLine{    customProcessors: [CustomProcessor],}
\DoxyCodeLine{\})); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_jasmine_spec_reporter_examples_typescript_README_autotoc_md13908}{}\doxysection{Example}\label{md_sfcode_node_modules_jasmine_spec_reporter_examples_typescript_README_autotoc_md13908}
You can find an example in this directory\+: \begin{DoxyVerb}npm install
npm test
\end{DoxyVerb}
 