diff options
Diffstat (limited to 'js/vendor/angular-mocks/README.md')
-rw-r--r-- | js/vendor/angular-mocks/README.md | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/js/vendor/angular-mocks/README.md b/js/vendor/angular-mocks/README.md index 3448d2849..1604ef880 100644 --- a/js/vendor/angular-mocks/README.md +++ b/js/vendor/angular-mocks/README.md @@ -1,21 +1,36 @@ -# bower-angular-mocks +# packaged angular-mocks -This repo is for distribution on `bower`. The source for this module is in the +This repo is for distribution on `npm` and `bower`. The source for this module is in the [main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngMock). Please file issues and pull requests against that repo. ## Install -Install with `bower`: +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular-mocks +``` + +The mocks are then available at `node_modules/angular-mocks/angular-mocks.js`. + +Note that this package is not in CommonJS format, so doing `require('angular-mocks')` will +return `undefined`. + +### bower ```shell bower install angular-mocks ``` +The mocks are then available at `bower_components/angular-mocks/angular-mocks.js`. + ## Documentation Documentation is available on the -[AngularJS docs site](http://docs.angularjs.org/guide/dev_guide.unit-testing). +[AngularJS docs site](https://docs.angularjs.org/guide/unit-testing). ## License |