mardi 18 octobre 2016

Jasmine get current spec test result

In jasmine v2.1.1, I used to:

var passed = jasmine.getEnv().currentSpec.results().passed();

But after updating to Jasmine v2.5.2, I cannot do it anymore... What would be equivalent in the new version?

Aucun commentaire:

Enregistrer un commentaire