Permalink
Browse files

Fix npm test script

  • Loading branch information...
1 parent 672be4a commit ada4559077ab0ce2022ad91a4b450cc8f16bb913 @cjohansen cjohansen committed Sep 14, 2012
Showing with 5 additions and 4 deletions.
  1. +4 −3 buster.js
  2. +1 −1 package.json
View
@@ -13,6 +13,7 @@ exports["Browser"] = {
};
exports["Node"] = {
- extends: "Browser",
- environment: "node"
-};
+ environment: "node",
+ testHelpers: ["test/test-helper.js"],
+ tests: ["test/*-test.js"]
+};
View
@@ -28,7 +28,7 @@
"url": "https://github.com/busterjs/referee"
},
"scripts": {
- "test": "./node_modules/buster/bin/buster-test"
+ "test": "./node_modules/buster/bin/buster-test --node"
},
"dependencies": {
"lodash": "~0.4",

0 comments on commit ada4559

Please sign in to comment.