loopback-datasource-juggler/test/init.js

22 lines
363 B
JavaScript
Raw Normal View History

2013-04-06 10:57:12 +00:00
module.exports = require('should');
/*
2014-01-24 17:09:53 +00:00
if (!process.env.TRAVIS) {
if (typeof __cov === 'undefined') {
process.on('exit', function () {
require('semicov').report();
});
}
2014-01-24 17:09:53 +00:00
require('semicov').init('lib');
}
*/
2013-03-26 00:39:47 +00:00
var Schema = require('../').Schema;
if (!('getSchema' in global)) {
2014-01-24 17:09:53 +00:00
global.getSchema = function () {
return new Schema('memory');
};
2013-03-26 00:39:47 +00:00
}