We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb50da9 commit a690dd7Copy full SHA for a690dd7
test/buster.js
@@ -1,14 +1,20 @@
1
var config = module.exports,
2
fs = require('fs'),
3
bower = {
4
- jquery: JSON.parse(fs.readFileSync('bower_components/jquery/bower.json', 'utf8'))
+ jquery: {
5
+ main: 'jquery.js'
6
+ }
7
};
8
9
+if (fs.existsSync('bower_components/jquery/bower.json')) {
10
+ bower.jquery = JSON.parse(fs.readFileSync('bower_components/jquery/bower.json', 'utf8'))
11
+}
12
+
13
config["My tests"] = {
14
rootPath: "../",
15
environment: "browser", // or "node"
16
libs: [
- "bower_components/jquery/" + bower.jquery.main,
17
+ "bower_components/jquery/" + bower.jquery.main.replace(/^\.\//, ''),
18
],
19
sources: [
20
"src/callbacks.js",
0 commit comments