It looks as if this is a known issue:
http://youtrack.jetbrains.com/issue/RSRP-389196
What they're going to have to do is add support for something like this:
/// <resharper_reference path="Scripts/jquery-1.8.2.js" />
/// <resharper_reference path="Scripts/MyClassUnderTest.js" />
Chutzpah already supports this format, so it would be nice if Resharper picked those up as well:
/// <chutzpah_reference path="Scripts/jquery-1.8.2.js" />
/// <chutzpah_reference path="Scripts/MyClassUnderTest.js" />
The workitem says that it'll be addressed in Resharper 9.0.
It's also possible to hack up a workaround where you copy sinon.js
to sinon.d.js
, and then put sinon.d.js
in the same folder where sinon.d.ts
is located.