UNPKG

ng-describe

Version:

Convenient BDD specs for Angular

27 lines (25 loc) 1.13 kB
* [Intro](#intro) * [Install](#install) * [API](#api) * [Primary options](#primary-options) * [Secondary options](#secondary-options) * [Examples](#examples) * [Test value provided by a module](#test-value-provided-by-a-module) * [Test a filter](#test-a-filter) * [Test a service](#test-a-service) * [Test controller and scope](#test-controller-and-scope) * [Test directive](#test-directive) * [Test controllerAs syntax](#test-controlleras-syntax) * [Test controller instance in custom directive](#test-controller-instance-in-custom-directive) * [Test 2 way binding](#test-2-way-binding) * [Mock value provided by a module](#mock-value-provided-by-a-module) * [Angular services inside mocks](#angular-services-inside-mocks) * [Mock $http.get](#mock-httpget) * [mock http](#mock-http) * [beforeEach and afterEach](#beforeeach-and-aftereach) * [Spy on injected methods](#spy-on-injected-methods) * [Spy on mocked service](#spy-on-mocked-service) * [Configure module](#configure-module) * [Helpful failure messages](#helpful-failure-messages) * [Development](#development) * [License](#license)