mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
15 lines
268 B
JavaScript
15 lines
268 B
JavaScript
'use strict';
|
|
|
|
const { EventEmitter } = require('events');
|
|
|
|
class FakeMetricsStore extends EventEmitter {
|
|
getMetricsLastHour() {
|
|
return Promise.resolve([]);
|
|
}
|
|
insert() {
|
|
return Promise.resolve();
|
|
}
|
|
}
|
|
|
|
module.exports = FakeMetricsStore;
|