Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Fix test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cjohansen committed Apr 14, 2013
1 parent eccd62c commit 62a3778
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -26,7 +26,7 @@
"url": "https://github.com/busterjs/buster-cli/blob/master/LICENSE"
},
"scripts": {
"test": "./run-tests"
"test": "node run-tests.js"
},
"dependencies": {
"bane": "~0.1",
Expand Down
4 changes: 0 additions & 4 deletions run-tests.js
@@ -1,10 +1,6 @@
var referee = require("referee");
var bt = require("buster-test");

bt.testRunner.assertionCount = function () {
return assertions;
};

bt.testRunner.onCreate(function (runner) {
referee.on("pass", runner.assertionPass.bind(runner));

Expand Down

0 comments on commit 62a3778

Please sign in to comment.