In the project I've joined there's a problem with tests. A lot of test suites fail with an error "cannot read property 'xxx' of undefined" and quite a long stacktrace. I can console.log these variables outside of tests without any problem and sometimes they are even static objects.
Moreover, I can checkout the project 2 months back and tests in same shape are working, although many dependencies had changed since then. Any ideas welcome.
Aucun commentaire:
Enregistrer un commentaire