@codetanzania/emis-incident
Version:
A representation of an entity which define and track an instance(or occurrence) of an emergency(or disaster) event.
18 lines (11 loc) • 316 B
JavaScript
;
/* force environment to be test */
process.env.NODE_ENV = 'test';
process.env.DEFAULT_LOCALE = 'en';
/* setup mongoose */
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
/* setup */
require('chai').use(require('sinon-chai'));
require('sinon');
require('sinon-mongoose');