Merge branch 'main' of github.com:usebruno/bruno

This commit is contained in:
Anoop M D 2023-10-05 21:15:59 +05:30
commit c08be14d87

View File

@ -124,9 +124,9 @@ const runSingleRequest = async function (
}
let response, responseTime;
const start = Date.now();
try {
// run request
const start = Date.now();
response = await axios(request);
responseTime = Date.now() - start;
} catch (err) {
@ -274,7 +274,8 @@ const runSingleRequest = async function (
status: null,
statusText: null,
headers: null,
data: null
data: null,
responseTime: 0
},
error: err.message,
assertionResults: [],