angular.js - Does anyone know the API documentation related to angular unit testing angular-mocks?
迷茫
迷茫 2017-05-15 16:56:11
0
1
706

I don’t know how to write the relevant api documentation when doing unit testing, or learn a tutorial

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
大家讲道理

The most commonly used one in this module is $httpBackend. The documentation is actually quite complete, but you might feel a little dizzy the first time you read it. Just write a demo and try it a few times.

https://docs.angularjs.org/api/ngMock/service/$httpBackend

Other services under this module are similar and are no more complicated to use than the one above. Specific questions can be found in this directory: https://docs.angularjs.org/api/ngMock

If you want to find a tutorial, just look it up first, and then Google the corresponding name.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template