feat(#1050): Response time in res

This commit is contained in:
Shourav Nath
2023-11-25 12:44:39 +06:00
parent f0d5cdecb7
commit fa7afd4237
5 changed files with 12 additions and 0 deletions

View File

@@ -109,6 +109,7 @@ const createResponseParser = (response = {}) => {
res.statusText = response.statusText;
res.headers = response.headers;
res.body = response.data;
res.responseTime = response.responseTime;
res.jq = (expr) => {
const output = jsonQuery(expr, { data: response.data });