mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
054e87cf4a
Closes #327
14 lines
237 B
JavaScript
14 lines
237 B
JavaScript
'use strict';
|
|
|
|
module.exports = () => {
|
|
const events = [];
|
|
|
|
return {
|
|
store: event => {
|
|
events.push(event);
|
|
Promise.resolve();
|
|
},
|
|
getEvents: () => Promise.resolve(events),
|
|
};
|
|
};
|