-------------------------------------Unit Test Instruction-----------------------------------

Create Unit Test

Add reference in your JS file

Use of requireJs

Assertation syntax

It uses the expect.js assertation, see: https://github.com/Automattic/expect.js

Example:

kMock syntax

Example:mock new Object

Example:mock exist Object

Example:flush mock