This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I write my jasmine specs in coffeescript and want to run them using Resharper test runner for Javascript. I use Web Workbench to monitor and compile them to javascript continuously. Then Resharper is able to run the specs. The problem is that when compiled to Javascript, a wrapper function is created and there is no way to get the reference to my script that I want to test on top of the file. Since the Resharper testrunner for Javascript as well as JS Unit Tests requires it to be on the top, it does not load the dependency. Therefore I have to modify the compiled file to make the dependencies work. I want
or at least:
to produce:
but instead it produces:
which as to be modified manually to the following in order to get it to work
I reported it to the ReSharper guys in JetBrains but they suggested this solved in Web Workbench. Links:
|
|
|
Thanks for reporting this. I would agree with the JetBrains suggestion that this will need some explicit support from WW to support this so I will have a look at what is involved with this.
|
|