loopback-connector-mysql/test/init.js

13 lines
288 B
JavaScript
Raw Normal View History

2013-04-07 21:53:55 +00:00
module.exports = require('should');
2013-03-27 00:37:13 +00:00
var Schema = require('jugglingdb').Schema;
global.getSchema = function() {
var db = new Schema(require('../'), {
database: 'myapp_test',
username: 'root'
});
2013-03-27 14:15:23 +00:00
// db.log = function (a) { console.log(a); };
2013-03-27 00:37:13 +00:00
return db;
};