Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 1a80bf1

Browse files
committed
Merge pull request #945 from yagoferrer/master
chore(tests): use npm to install required dependencies to run the tests
2 parents 68eccac + cdc61b1 commit 1a80bf1

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

karma.conf.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ module.exports = function(config) {
99

1010
// List of files / patterns to load in the browser
1111
files: [
12-
'bower_components/jquery/dist/jquery.js',
13-
'bower_components/angular/angular.js',
14-
'bower_components/angular-sanitize/angular-sanitize.js',
15-
'bower_components/angular-mocks/angular-mocks.js',
12+
'node_modules/jquery/dist/jquery.js',
13+
'node_modules/angular/angular.js',
14+
'node_modules/angular-sanitize/angular-sanitize.js',
15+
'node_modules/angular-mocks/angular-mocks.js',
1616

1717
'dist/select.js',
1818
'test/helpers.js',

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"style": "dist/select.css",
1010
"version": "0.16.0",
1111
"devDependencies": {
12+
"angular": "^1.2.18",
13+
"angular-mocks": "^1.2.18",
14+
"angular-sanitize": "^1.2.18",
1215
"bower": "~1.3",
1316
"conventional-changelog": "^0.5.3",
1417
"conventional-recommended-bump": "0.0.3",
@@ -31,6 +34,7 @@
3134
"gulp-tag-version": "^1.3.0",
3235
"gulp-uglify": "~0.3.1",
3336
"gulp-util": "^2.2.19",
37+
"jquery": "~1.11",
3438
"jshint-stylish": "~0.3.0",
3539
"karma": "^0.12.16",
3640
"karma-chrome-launcher": "^0.1.3",

0 commit comments

Comments
 (0)