UNPKG

angular-test-context

Version:

A simple API that implements core ngMock capabilities needed for unit testing.

36 lines (26 loc) 1.08 kB
### 0.1.10 (2016-4-5) * Support injecting $scope into constructor when using the instantiate method. * Ensure instantiate() and compile() use the same scope object. ### 0.1.9 (2016-2-11) * Expose the injector's instantiate method so that controllers can be injected with dependencies. ### 0.1.8 (2016-2-11) * Provide a method to return the actual angular scope object used to compile. ### 0.1.7 (2015-12-10) * Fix bug where inject() method is not injecting the same instance of the service. ### 0.1.6 (2015-08-12) * Normalize webpack and karma configuration across projects. * Update README. ### 0.1.5 (2015-07-12) * Normalize webpack and karma configurations across projects. * Normalize directive naming across projects. * Test with Angular 1.2.x. ### 0.1.4 (2015-07-01) * require('angular-text-context') should point to unwrapped version of source ### 0.1.3 (2015-07-01) * Bump version to update NPM README. ### 0.1.2 (2015-07-01) * Bump version to update NPM README. ### 0.1.1 (2015-07-01) * Bump version to update NPM README. ### 0.1.0 (2015-07-01) * Initial version