Upd test runner
This commit is contained in:
parent
4302a125ef
commit
cd0018f3a5
|
@ -4,7 +4,7 @@
|
||||||
"description": "MySQL adapter for JugglingDB",
|
"description": "MySQL adapter for JugglingDB",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "nodeunit test/*"
|
"test": "make test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jugglingdb": "latest",
|
"jugglingdb": "latest",
|
||||||
|
|
|
@ -5,8 +5,6 @@ global.getSchema = function() {
|
||||||
database: 'myapp_test',
|
database: 'myapp_test',
|
||||||
username: 'root'
|
username: 'root'
|
||||||
});
|
});
|
||||||
db.log = function (a) {
|
// db.log = function (a) { console.log(a); };
|
||||||
console.log(a);
|
|
||||||
};
|
|
||||||
return db;
|
return db;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue