Chutzpah Error: System.IO.FileNotFoundException

Multi tool use
Chutzpah Error: System.IO.FileNotFoundException
I'm trying to run a basic test of TypeScript using Jasmine and Chutzpah.
Here is the spec file
/// <reference path = "../lib/typings/jasmine/jasmine.d.ts"/>
/// <reference path = "../../control/utils.ts"/>
describe('utils', () => {
it('check getCardName', () => {
var data1: any = {}, data2: any = {}, data3: any = {}, data4: any = {};
data1.cardtype = 6;
data2.cardtype = 27;
data3.cardtype = 108;
data4.cardtype = 102;
data4.cardName = "TOP_PEOPLE";
var result1 = MscrmControls.CardFeedContainer.Utils.getCardName(data1);
var result2 = MscrmControls.CardFeedContainer.Utils.getCardName(data2);
var result3 = MscrmControls.CardFeedContainer.Utils.getCardName(data3);
var result4 = MscrmControls.CardFeedContainer.Utils.getCardName(data4);
expect(result1).toBe("RECENTMEETINGs");
expect(result2).toBe("EMAILREMINDER");
expect(result3).toBe("UPCOMING_MEETING");
expect(result4).toBe(data4.cardName);
});
});
Here is my chutzpah.json file:
{
"Framework": "jasmine",
"Compile": {
"Mode": "External",
"Extensions": [ ".ts" ],
"ExtensionsWithNoOutput": [ ".d.ts" ]
},
"CodeCoverageExcludes": [ "*.spec.ts" ],
"Tests": [
{
"Path": "spec",
"Includes": [ "*/*.spec.ts" ],
"Excludes": [ "*/*.d.ts", "*/**.spec.js" ],
"ExpandReferenceComments": "true"
}
]
}
Here is the folder structure
TestSolution.sln
-control
--utils.ts
-UnitTests
--spec
---utils.spec.js
--chutzpah.json
While running JS Tests using visual studio chutzpah test adapter and runner, I am getting the following error
Chutzpah Error: System.IO.FileNotFoundException: Couldn't find
generated path for
E:repos*****src*****UnitTestsspecutils.spec.ts
at
e:repos*****src*****unittestsspecutils.spec.js
or at
E:repos*****src*****UnitTestsspecutils.spec.js
File name:
'e:repos*****src*****unittestsspecutils.spec.js'
While
Running:e:repos*****src*****unittestsspecutils.spec.js
Chutzpah Error: System.IO.FileNotFoundException: Couldn't find
generated path for E:repos*****src*****controlutils.ts at or at
E:repos*****src*****controlutils.js
Any help would be much appreciated.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.