Skip to content

Commit 8b8c00f

Browse files
committed
fixed jquery lib path
1 parent 251436e commit 8b8c00f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/buster.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
var config = module.exports;
1+
var config = module.exports,
2+
fs = require('fs'),
3+
bower = {
4+
jquery: JSON.parse(fs.readFileSync('bower_components/jquery/bower.json', 'utf8'))
5+
};
26

37
config["My tests"] = {
48
rootPath: "../",
59
environment: "browser", // or "node"
610
libs: [
7-
"bower_components/jquery/jquery.min.js"
11+
"bower_components/jquery/" + bower.jquery.main,
812
],
913
sources: [
1014
"src/callbacks.js",

0 commit comments

Comments
 (0)