Hi,

I'm writing unit tests for EMM using jaggery test framework. But whenever I
put beforeEach[1] and afterEach[1] in unit tests (refer to *Setup* and
*Teardown* section), statements inside beforeEach and afterEach
automatically executes when I'm loading/refreshing the test page. Because
of that I have created tearup & teardown methods and called them manually.

Is there any workaround for this?

[1]. http://jasmine.github.io/2.0/introduction.html

Thanks,

Best Regards,

Lakshitha Harshan
Software Engineer
Mobile: *+94724423048*
Email: hars...@wso2.com
Blog : http://harshanliyanage.blogspot.com/
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to