BeataKr / axios-har-tracker

This library was designed for gathering HAR files from requests sent using axios
https://github.com/BeataKr/axios-har-tracker
10 stars 10 forks source link

fix: Compute time latency on interceptors #23

Open smikulcik opened 1 week ago

smikulcik commented 1 week ago

Closes #22

We can store the request start time on the axios config object and then reference on the response interceptor to get the observed latency.

The jest files look correct to me now

image