-
Notifications
You must be signed in to change notification settings - Fork 2.3k
onComplete does not allow for a blocking callback #1944
Comments
You're right, We should
|
Any updates on this issue. I am also trying to use nodemailer in onComplete event but it is not working or is there any workaround? |
Hi All, We are using jasmine-reporters for generating both HTML as well as XML reports. However we have written a custom dot net console application to take the XML reports generated and write it back to Microsoft Test Manager. If i try to invoke a console application within the IT block of a spec file it invokes fine. However when we try to invoke the console application from OnComplete event(as XML reports would be generated by now) in conf.js it is not invoking at all. Kindly advise. |
I'm trying to implement an asynchronous action (Nodemailer) during the
onComplete
of my test config. I found that while the action starts, onComplete would finish and kill the runner before the action completed.In order to get
onComplete
working for me using a deferred promise, I needed to modify thelib/framework/jasmine.js
as such:The text was updated successfully, but these errors were encountered: