mercredi 4 avril 2018

Can you use Jest on a codebase already using Protractor?

I'm working on a system which uses Protractor as its testing framework.

However what I like about Jest is the test coverage feature, and so am wanting to install this.

Is this possible to use both?

I tried installing Jest along with Babel-Jest (as we use Babel too), however I get strange errors such as not being able to find imported modules such as 'angular-mocks' despite angular importing fine, and it all working fine previously if just using protractor.

Any ideas?

Aucun commentaire:

Enregistrer un commentaire