aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2014-09-11 15:18:34 -0500
committerMichał Gołębiowski <m.goleb@gmail.com>2014-12-26 13:26:46 +0100
commit76df9e4e389d80bff410a9e5f08b848de1d21a2f (patch)
tree215a453aac2f1cc5574f66173e91d391493146d3 /package.json
parentab20d9d24f0a95df382c02e9ef3dcc4adb86e4f1 (diff)
downloadjquery-76df9e4e389d80bff410a9e5f08b848de1d21a2f.tar.gz
jquery-76df9e4e389d80bff410a9e5f08b848de1d21a2f.zip
Build: Don't assume the browser environment; smoke test on Node w/ jsdom
Fixes gh-1950 Closes gh-1949
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 950c66821..278251e07 100644
--- a/package.json
+++ b/package.json
@@ -43,6 +43,7 @@
"grunt-jsonlint": "1.0.4",
"grunt-npmcopy": "0.1.0",
"gzip-js": "0.3.2",
+ "jsdom": "1.5.0",
"load-grunt-tasks": "1.0.0",
"npm": "2.1.12",
"qunitjs": "1.16.0",
@@ -54,6 +55,6 @@
"scripts": {
"build": "npm install && grunt",
"start": "grunt watch",
- "test": "grunt"
+ "test": "grunt test"
}
}