I'm writing an integration test to cover some Typescript classes that I've got, and those Typescript classes have dependencies on third-party JS libraries.
The Integration test is also written in Typescript. When I run the test using Resharper's built-in support, there is a JS error in the browser saying that the third-party dependencies can not be found. Of course, the test runner has not added references to them when constructing the test page for the browser. I try and add the references using the <reference>
statement in the test file, but the IDE (VS 2013) complains that you can only use to refer to other Typescript files - not Javascript files.
How can I solve this problem?
I have used the Chutzpah test runner in the past, with its various plug-ins for VS, and that lets me define such references using the <chutzpah_reference>
statement. But I was wondering if it was possible to just use Resharper from now on...