runner-runtime 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/libs/utils.js +3 -3
  2. package/package.json +1 -1
package/libs/utils.js CHANGED
@@ -440,15 +440,15 @@ const formatAutotestReportList = (eventResultList) => {
440
440
  const list = []
441
441
  _.forEach(eventResultList, (item) => {
442
442
  list.push(_.assign(
443
+ _.pick(item?.response, ['timings', 'response_time', 'response_at', 'proxy', 'status', 'code', 'response_size']),
444
+ _.pick(item?.request, ['url', 'method', 'name', 'target_id', 'project_id']),
445
+ _.pick(item, ['type', 'event_id', 'test_id', 'iteration_id']),
443
446
  {
444
447
  'status': {
445
448
  "assert": _.isEmpty(item?.status?.success_assert) ? "OK" : item?.status?.success_assert,
446
449
  "http": item?.status?.http || "OK"
447
450
  }
448
451
  },
449
- _.pick(item?.response, ['timings', 'response_time', 'response_at', 'proxy', 'status', 'code', 'response_size']),
450
- _.pick(item?.request, ['url', 'method', 'name', 'target_id', 'project_id']),
451
- _.pick(item, ['type', 'event_id', 'test_id', 'iteration_id']),
452
452
  ))
453
453
  })
454
454
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runner-runtime",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "runner-runtime.",
5
5
  "main": "index.js",
6
6
  "scripts": {