javascript - Saving jasmine expect() results -
does expect()
have return type (or promise fulfills)? if not, how can store/access result of it('should...')
's expect()
?
edited-clarification: want store , use these results during subsequent tests.
reason: i'd make tests resilient enough know if should skipped because prior tests failed, without having make comparison second time , wait nested promises resolve again.
have @ http://jasmine.github.io/2.3/custom_reporter.html allows notified of suite/specs success/failure executed.
you store information in object accessible specs.
Comments
Post a Comment