mardi 30 août 2016

How can I 'force' ALL karma test to fail if an eslint error is found?

I have found that sometimes people do not realise they have linting errors in their tests when they run them since they are show before the test progress/information.

Is there any configuration which will cause ALL tests to fail if any of the tests have any linting errors?

I am using mocha with karma.

Thanks.

Aucun commentaire:

Enregistrer un commentaire