O'Reilly logo

Jasmine Cookbook by Munish Sethi

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

Writing Jasmine tests for Node.js

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast and scalable network applications. It provides an event-driven architecture and a non-blocking I/O API that optimizes an application's throughput and scalability. To know more about Node.js, you can visit the following websites:

In this recipe, you will learn how to create Jasmine tests for Node.js.

To understand this recipe, let's assume that you are developing an application for a bank with Node.js and you have to develop test code to implement business logic.

"As a Node.js developer, I want to implement business logic to validate a person's age so that I can implement a test ...

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