jeudi 14 novembre 2019

Test utils files in Angular. What are the Best practices?

In Angular I want to share some utils for using across my tests.

What would be the best practice/standard to do so?

I.e. To test a component/service/whatever you create a file with the same name and the extension .spec.ts and placed in the same folder. For a test utils what will be the best placement and naming? Also ending in .spec.ts?

Aucun commentaire:

Enregistrer un commentaire