1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/test/fixtures/fake-event-store.js
Ivar Conradi Østhus 5ad2e246e5 Include user information on revive
Closes #327
2018-06-25 18:39:54 +02:00

14 lines
237 B
JavaScript

'use strict';
module.exports = () => {
const events = [];
return {
store: event => {
events.push(event);
Promise.resolve();
},
getEvents: () => Promise.resolve(events),
};
};