Either you test it as a regular class. Or you use the entire machinery of Angular. If you do the latter, ng-mocks is your friend. Mocking a ...
確定! 回上一頁