2013-04-06 10:57:12 +00:00
|
|
|
module.exports = require('should');
|
2013-03-24 21:25:10 +00:00
|
|
|
|
|
|
|
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');
|
|
|
|
};
|
|
|
|
}
|