Front-end novices use karma+mocha+chai+sinon for angular JS unit testing

Here we just talk about how to build the environment. Type selection: A comparison is made between jasmine and mocha+chai, and the latter is chosen according to the needs of the project. Installing dependency packages and environments Install directly by executing the following commands or run npm install (package. ...

Posted by bouwob on Tue, 11 Dec 2018 04:45:05 -0800