Skip to content

Commit 8be48e4

Browse files
committed
make tests rely upon dependencies in node_modules
1 parent 4b28629 commit 8be48e4

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

karma.conf.js

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

1616
// list of files / patterns to load in the browser
1717
files: [
18-
'bower_components/jquery/dist/jquery.min.js',
19-
'bower_components/jquery-ui/jquery-ui.min.js',
20-
'bower_components/lodash/dist/lodash.min.js',
18+
'node_modules/jquery/dist/jquery.min.js',
19+
'node_modules/components-jqueryui/jquery-ui.min.js',
20+
'node_modules/lodash/lodash.min.js',
2121
'src/gridstack.js',
2222
'src/gridstack.jQueryUI.js',
2323
'spec/*-spec.js'

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": "grunt && doctoc ./README.md && doctoc ./doc/README.md && doctoc ./doc/CHANGES.md",
1212
"test": "grunt lint && karma start karma.conf.js",
1313
"lint": "grunt lint",
14-
"reset": "rm -rf node_modules dist"
14+
"reset": "rm -rf dist node_modules"
1515
},
1616
"keywords": [
1717
"gridstack",
@@ -36,6 +36,7 @@
3636
},
3737
"devDependencies": {
3838
"connect": "^3.4.1",
39+
"components-jqueryui": "1.12.1",
3940
"coveralls": "^2.11.8",
4041
"doctoc": "^1.3.0",
4142
"grunt": "^1.0.1",

0 commit comments

Comments
 (0)