How to Use
To see it in action, simply fork or download the project and open it up in Visual Studio 2012 (with the TypeScript and Web Essentials plugins installed), and right click the specrunner.html and select View in Browser.
There are a few interesting things to note about the files in the project:
- specrunner.html loads the Jasmine library and performs the basic configuration and tells RequireJS to load src/specrunner.
- src/specrunner.ts configures RequireJS and loads the specs and then start Jasmine
If you have any improvments or suggestions, please submit a pull request on GitHub with your modifications.
Comments and suggestions can also be posted here in the Issues section or in the original blog post on my website.
Removed init.ts and rewrote specrunner.ts load specs directly. There was no need to do it through init.ts.