O'Reilly logo

Mastering TypeScript by Nathan Rozentals

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Jasmine runners

There are a number of ways to run Jasmine tests outside of an actual web page, as we have been doing up until this point. Bear in mind, though, that Visual Studio does not support debugging TypeScript outside of directly running a web page with Internet Explorer. In these cases, you would need to revert to the existing developer tools available within your target browser.

Most test runners rely on a simple static HTML page to contain all tests, and will fire up a small instance of a web server in order to serve this HTML page to the test runner. Some test runners use a configuration file for this purpose, and construct a testing environment without the need for HTML at all. This may be all well and good for unit tests—where the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required