1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/test/unit/routes/fixtures/fake-client-strategy-store.js

15 lines
298 B
JavaScript
Raw Normal View History

2016-11-10 22:05:50 +01:00
'use strict';
module.exports = () => {
const _instances = [];
return {
insert: () => {
_instances.push();
return Promise.resolve();
},
getAll: () => Promise.resolve(_instances),
getApplications: () => Promise.resolve([]),
};
};