Skip to content

Commit ccaa6cd

Browse files
chrisirhcfernando-sendMail
authored andcommitted
chore(tests): use angular installed via npm
- Avoid maintaining / copying AngularJS source code on our repo. - Ensures that Travis checks out the latest Angular version and tests against it.
1 parent 03d0fd7 commit ccaa6cd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: karma.conf.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module.exports = function(config) {
1616
// list of files / patterns to load in the browser
1717
files: [
1818
'misc/test-lib/jquery-1.8.2.min.js',
19-
'misc/test-lib/angular.js',
20-
'misc/test-lib/angular-mocks.js',
19+
'node_modules/angular/angular.js',
20+
'node_modules/angular-mocks/angular-mocks.js',
2121
'misc/test-lib/helpers.js',
2222
'src/**/*.js',
2323
'template/**/*.js'

Diff for: package.json

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"url": "https://github.com/angular-ui/bootstrap.git"
1010
},
1111
"devDependencies": {
12+
"angular": "^1.3.15",
13+
"angular-mocks": "^1.3.15",
1214
"grunt": "^0.4.5",
1315
"grunt-contrib-concat": "^0.5.1",
1416
"grunt-contrib-copy": "^0.8.0",

0 commit comments

Comments
 (0)