December 2017
Beginner
372 pages
10h 32m
English
First up is the describe function, which acts as the container for our test case. The signature of a describe function is shown in the following screenshot:

As we can see, the describe function takes two parameters. The first one is the description, which is just a string and defines our test case, and the second is the callback function that will be executed. In our case, we have declared a couple of objects that we will use in our test case.
Read now
Unlock full access