jeudi 21 novembre 2019

Jest: Different results with --watch and --coverage

I have a test for a custom error that passes when ran with jest --watch but fails when ran with jest --coverage.

jest --watch
enter image description here

jest --coverage
enter image description here

It seems like they're running with different versions of babel.

Has anyone ran into this before? What should I check? Any other information I could provide?

Thanks in advance,
Dan

Aucun commentaire:

Enregistrer un commentaire