Open jaredbro opened 9 years ago
Hi, I was in holidays, couldn't reply earlier. By the way, thanks for the detailed error report. I've reproduced error. Seems internal issue with jamine, see here https://github.com/jasmine/jasmine/pull/179. As per ther thread only way to handle such syntax errors by linting test code. Hmm, ofcourse is not enough. I don't think we have an easy solution here... What do you think?
i'm trying to switch from using webdriverio with gulp to using jasmine. I really like how easy this plugin works, but I've run into an odd problem that can cause a lot of frustration in the development cycle. If you have a syntax error in a webdriver.io callback (see example below), this plugin will cause gulp to just error out and never cleanup any server resources or allow subsequent tasks to not be executed. I have noticed that the gulp-webdriver plugin does handle this correctly.
To reproduce, change test.js to be the following:
Then run, and you'll see the following error results:
Any suggestions for how to fix this?