The {\ttfamily jasmine-\/spec-\/reporter} can be used to enhance your \href{https://github.com/jasmine/jasmine-npm}{\texttt{ jasmine node}} tests execution report.\hypertarget{md_sfcode_node_modules_jasmine_spec_reporter_examples_node_README_autotoc_md13902}{}\doxysection{Configuration}\label{md_sfcode_node_modules_jasmine_spec_reporter_examples_node_README_autotoc_md13902}
Create a {\ttfamily spec/helpers/reporter.\+js} file with the following content\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{const SpecReporter = require('jasmine-\/spec-\/reporter').SpecReporter;}
\DoxyCodeLine{}
\DoxyCodeLine{jasmine.getEnv().clearReporters();               // remove default reporter logs}
\DoxyCodeLine{jasmine.getEnv().addReporter(new SpecReporter(\{  // add jasmine-\/spec-\/reporter}
\DoxyCodeLine{  spec: \{}
\DoxyCodeLine{    displayPending: true}
\DoxyCodeLine{  \}}
\DoxyCodeLine{\})); }

\end{DoxyCode}


Then run your tests!\hypertarget{md_sfcode_node_modules_jasmine_spec_reporter_examples_node_README_autotoc_md13903}{}\doxysection{Example}\label{md_sfcode_node_modules_jasmine_spec_reporter_examples_node_README_autotoc_md13903}
This directory is setup as a working example, so you can inspect the {\ttfamily package.\+json}, the {\ttfamily spec} directory, and you can see it all work by issuing the following commands\+: \begin{DoxyVerb}npm install
npm test
\end{DoxyVerb}
 