mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-28 20:31:48 +00:00
oops
This commit is contained in:
parent
cebef7352d
commit
0fd1008d65
2 changed files with 3 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ describe('PrometheusManagerMetrics', () => {
|
|||
);
|
||||
const tunnelTime = await managerMetrics.getTunnelTimeByLocation({hours: 0});
|
||||
expect(tunnelTime).toEqual([
|
||||
{location: 'US', asn: undefined, tunnel_time_seconds: 1000},
|
||||
{location: 'CA', asn: undefined, tunnel_time_seconds: 2000},
|
||||
{location: 'US', asn: undefined, as_org: undefined, tunnel_time_seconds: 1000},
|
||||
{location: 'CA', asn: undefined, as_org: undefined, tunnel_time_seconds: 2000},
|
||||
]);
|
||||
done();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ interface TunnelTimeRequest {
|
|||
interface TunnelTimeResponse {
|
||||
location?: string;
|
||||
asn?: number;
|
||||
as_org?: string;
|
||||
tunnel_time_seconds: number;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue