April 2015
Intermediate to advanced
276 pages
5h 38m
English
To test JavaScript's asynchronous functions/calls is a challenge. However, Jasmine 2.x provides a good way to test functions that are called asynchronously. In this recipe, you will learn to develop Jasmine specs for asynchronous operations using the done() function.
To understand this recipe, let's assume that you are developing an application using JavaScript and you have to design specs for asynchronous operations.
"As a JavaScript developer, I want to create Jasmine specs for asynchronous operations so that I can implement a test condition successfully."
Let's consider the following scenario in the current context:
Read now
Unlock full access