loopback-datasource-juggler/test/init.js

20 lines
395 B
JavaScript
Raw Normal View History

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