mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
c991fed69c
Also introduced mockery to mock db-access. Here we probably need better modularisation and/or better dependecy management (injecting of deps?).
13 lines
239 B
JavaScript
13 lines
239 B
JavaScript
var Promise = require('bluebird');
|
|
|
|
function storeEvent(event) {
|
|
console.log('using eventDbMock to store: ', event);
|
|
return new Promise(function (resolve) {
|
|
resolve();
|
|
});
|
|
}
|
|
|
|
|
|
module.exports = {
|
|
store: storeEvent
|
|
}; |