When I use two different chutzpah.json files (one is at root level and another is at lower folder level) for a same project it will not loading the references when I ran the tests in the lower level folder.
The below is the project folder structure I have:
Scripts
-- Source1
-- Source2
-- Chutzpah.json
In "Source1" I have my Source files and as well as tests files like below.
The below is the chutzpah.json (at lower folder level) used for the files in the "Source2" folder.
{ "Framework": "jasmine", "RootReferencePathMode": "SettingsFileDirectory", "References": [ { "Path": "Scripts/Source2/source2sample.js" } ], "Tests": [ { "Includes": [ "source2sample.test.js" ] } ], "CodeCoverageIncludes": [ "*\\Scripts\\Source2\\*" ], "CodeCoverageExcludes": [ "*.test.js" ] }
If I ran the test files in the lower folder level it will through the error, but when I added the references of these in the outside Chutzpah.json that is at the root of the project it is working fine.
When I use two different chutzpah.json files (one is at root level and another is at lower folder level) for a same project it will not loading the references when I ran the tests in the lower level folder.
The below is the project folder structure I have:
In "Source1" I have my Source files and as well as tests files like below.
In "Source2" I have my Source files and as well as tests files along with the other 'Chutzpah.json' file like below.
If I ran the test files in the lower folder level it will through the error, but when I added the references of these in the outside Chutzpah.json that is at the root of the project it is working fine.