From cd0018f3a5dbdcef8d4fdc8b3b56ca10e3010ded Mon Sep 17 00:00:00 2001 From: Anatoliy Chakkaev Date: Wed, 27 Mar 2013 18:15:23 +0400 Subject: [PATCH] Upd test runner --- package.json | 2 +- test/init.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 472c124..0d291ec 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "MySQL adapter for JugglingDB", "main": "index.js", "scripts": { - "test": "nodeunit test/*" + "test": "make test" }, "dependencies": { "jugglingdb": "latest", diff --git a/test/init.js b/test/init.js index 81546b4..fc2cd47 100644 --- a/test/init.js +++ b/test/init.js @@ -5,8 +5,6 @@ global.getSchema = function() { database: 'myapp_test', username: 'root' }); - db.log = function (a) { - console.log(a); - }; + // db.log = function (a) { console.log(a); }; return db; };