mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
fix lint and mock
This commit is contained in:
parent
80d3f5be1c
commit
50f3cf9a82
@ -1,3 +1,4 @@
|
|||||||
|
/* eslint camelcase:off */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const COLUMNS = ['app_name', 'created_at', 'updated_at', 'description', 'url', 'color', 'icon'];
|
const COLUMNS = ['app_name', 'created_at', 'updated_at', 'description', 'url', 'color', 'icon'];
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
|
module.exports = () => ({
|
||||||
|
upsert: () => Promise.resolve(),
|
||||||
|
getApplicationMetaData: () => Promise.resolve([]),
|
||||||
|
});
|
@ -3,6 +3,7 @@
|
|||||||
const ClientMetricsStore = require('./fake-metrics-store');
|
const ClientMetricsStore = require('./fake-metrics-store');
|
||||||
const clientStrategyStore = require('./fake-client-strategy-store');
|
const clientStrategyStore = require('./fake-client-strategy-store');
|
||||||
const clientInstanceStore = require('./fake-client-instance-store');
|
const clientInstanceStore = require('./fake-client-instance-store');
|
||||||
|
const clientApplicationsStore = require('./fake-client-applications-store');
|
||||||
const featureToggleStore = require('./fake-feature-toggle-store');
|
const featureToggleStore = require('./fake-feature-toggle-store');
|
||||||
const eventStore = require('./fake-event-store');
|
const eventStore = require('./fake-event-store');
|
||||||
const strategyStore = require('./fake-strategies-store');
|
const strategyStore = require('./fake-strategies-store');
|
||||||
@ -19,6 +20,7 @@ module.exports = {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
db,
|
db,
|
||||||
|
clientApplicationsStore: clientApplicationsStore(),
|
||||||
clientMetricsStore: new ClientMetricsStore(),
|
clientMetricsStore: new ClientMetricsStore(),
|
||||||
clientStrategyStore: clientStrategyStore(),
|
clientStrategyStore: clientStrategyStore(),
|
||||||
clientInstanceStore: clientInstanceStore(),
|
clientInstanceStore: clientInstanceStore(),
|
||||||
|
Loading…
Reference in New Issue
Block a user