(ms: number)
| 37 | |
| 38 | // fakeLatency is a helper function to make a Latency report from just a number. |
| 39 | const fakeLatency = (ms: number): ProxyLatency.ProxyLatencyReport => { |
| 40 | return { |
| 41 | latencyMS: ms, |
| 42 | accurate: true, |
| 43 | at: new Date(), |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | describe("ProxyContextGetURLs", () => { |
| 48 | it.each([ |