You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use coffee-script to write all my tests. Mocha by default is able to read coffee but it's not the case when you use it programmaticaly (new Mocha…).
For the moment, I have to run a first task to compile my code JS and then call grunt-webdriver. When error happened… line number target of course the JS file.
It could be a nice improvement to create a require option like this Grunt task
Do you think is feasable?
I test adding require('coffee-script/register'); into webdriver.js and it did the job.
The text was updated successfully, but these errors were encountered:
Hi,
I use coffee-script to write all my tests. Mocha by default is able to read coffee but it's not the case when you use it programmaticaly (new Mocha…).
For the moment, I have to run a first task to compile my code JS and then call grunt-webdriver. When error happened… line number target of course the JS file.
It could be a nice improvement to create a require option like this Grunt task
Do you think is feasable?
I test adding require('coffee-script/register'); into webdriver.js and it did the job.
The text was updated successfully, but these errors were encountered: