mattermost-mobile/app/managers/performance_metrics_manager/test_utils.ts
Daniel Espino García 5f01f9e9af
Add performance metrics to the app (#7953)
* Add performance metrics to the app

* add batcher and improve handling

* Add tests

* Fix test

* Address feedback

* Address feedback

* Address feedback

* update podfile
2024-06-12 09:45:27 +02:00

16 lines
465 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export function getBaseReportRequest(start: number, end: number): {body: PerformanceReport; headers: {}} {
return {
body: {
version: '0.1.0',
start,
end,
labels: {agent: 'rnapp', platform: 'ios'},
histograms: [],
counters: [],
},
headers: {},
};
}