vendredi 22 mars 2019

Default mocha reporter doesn't produce correct output

I am trying to write mocha tests for rest api calls for my backend. I wrote a basic test and it displays output properly when I see in IDE. But on running npm run test, the command produces output as mentioned in screenshot 3. Is it a reporter problem?

index.spec.ts with normal test index.spec.ts with api request test package.json file

Aucun commentaire:

Enregistrer un commentaire