O'Reilly logo

WebStorm Essentials by Den Patin, Stefan Rosca

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

Jasmine is a behavior-driven development framework for testing JavaScript code. It is designed to run on any JavaScript platform, does not depend on any other framework or the DOM, and has an easy-to-read obvious syntax.

Before we start, it will help to install the Jasmine JavaScript library for WebStorm. We can use autocomplete and syntax highlight. Go to the Preferences | JavaScript | Libraries screen, and select Download.

Jasmine

In the new screen, select TypeScript community stubs and search for jasmine, and then select Download and Install.

Jasmine

Now ...

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