JavaScript modules in a separate project when using Chutzpah testrunner and requirejs in Visual Studio

I would like my tests to be in a separate project from the code under test as described in Jasmine in a separate test project . However, the approach of including reference paths in test files does not apply when the test is used with requirejs. Is there any other way to do this?

+3


source to share


1 answer


You must do this using the chutzpah.json settings . Take a look at this example , which shows the source and tests in different folders.



+4


source







All Articles