I'm using TypeScript to build by JS files in my project. I also use chutzpah extension to visual studio to run my tests. The issue I'm having is that I have an 3 scripts that needs to be loaded and my test .ts file as the last one. The problem I'm having is that the first scripts needs to be loaded before all other scripts are loaded. Also the first script is an external one (not within my project).
/// <reference path="externalScript" />
/// <chutzpah_reference path="../js/script1.js" />
/// <chutzpah_reference path="../js/script2.js" />
/// <chutzpah_reference path="../app/myProjectFile.ts"/>
How can I load the first script first and then all the other. It looks like an async call should be done - but I didnt't manage to solve it with it.