@biorate/axios 2.0.0 → 2.1.1

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 (78) hide show
  1. package/.nyc_output/84023f98-547c-4ebe-ac26-64a9b2da3563.json +1 -0
  2. package/.nyc_output/88d6a3b7-d47d-4373-aab3-aa6ff0e2b5b0.json +1 -0
  3. package/.nyc_output/9b9edde9-e8c1-437a-9e11-4099e5e61dce.json +1 -0
  4. package/.nyc_output/processinfo/84023f98-547c-4ebe-ac26-64a9b2da3563.json +1 -0
  5. package/.nyc_output/processinfo/88d6a3b7-d47d-4373-aab3-aa6ff0e2b5b0.json +1 -0
  6. package/.nyc_output/processinfo/9b9edde9-e8c1-437a-9e11-4099e5e61dce.json +1 -0
  7. package/.nyc_output/processinfo/index.json +1 -0
  8. package/CHANGELOG.md +14 -0
  9. package/allure-results/024aff4f-434d-462d-b12d-51ad34e0fdd5-result.json +1 -0
  10. package/allure-results/034efb06-cd77-45cb-becb-73cddf20dc15-container.json +1 -0
  11. package/allure-results/0f32df6c-5e9b-47f1-89c8-ea600c83ba26-result.json +1 -0
  12. package/allure-results/122199ab-d667-4cc9-b573-113d8868a8cd-container.json +1 -0
  13. package/allure-results/13d110d0-109c-4351-89ed-5bc13e0bdb3e-result.json +1 -0
  14. package/allure-results/1c22f13b-2e46-4968-9705-a3ada037e508-result.json +1 -0
  15. package/allure-results/1dd4fd35-9f73-44a7-a521-d9f6c88e4dbf-result.json +1 -0
  16. package/allure-results/23bbf376-c3b5-4d1c-97f5-c7933bd22bed-container.json +1 -0
  17. package/allure-results/312ebf35-2d28-4c05-8fe3-e3d2dbf6e476-result.json +1 -0
  18. package/allure-results/337b7e6a-6ad9-4fa3-a228-97c58de356e1-result.json +1 -0
  19. package/allure-results/3c46512d-2d69-4cf9-a829-1a2ed1e12357-result.json +1 -0
  20. package/allure-results/3dd2c9c2-e703-49d6-a5bf-020bfbf8983d-result.json +1 -0
  21. package/allure-results/46595c34-330b-40d4-920b-d9ed72544bd5-result.json +1 -0
  22. package/allure-results/4ab9592b-3194-4468-b531-6b00b0d21c0b-result.json +1 -0
  23. package/allure-results/4bbf362f-9228-4d11-97c3-c94296b4814f-result.json +1 -0
  24. package/allure-results/4cad7c8d-b6c5-406c-9d30-e1c0e79ba37e-result.json +1 -0
  25. package/allure-results/51ad02af-e7b2-49f6-b7be-52951c85c92c-result.json +1 -0
  26. package/allure-results/545d7b97-ddce-4b37-9173-d82320af1cf8-result.json +1 -0
  27. package/allure-results/5ef8c8d3-5162-40a6-af20-534c68d89ab7-result.json +1 -0
  28. package/allure-results/6333d6c1-d0a9-4010-ac90-559e27d51569-result.json +1 -0
  29. package/allure-results/640ada6c-e27b-49bb-9538-2f89caf15bec-result.json +1 -0
  30. package/allure-results/6b24004c-0cf5-4afb-be3d-66bb02b6f940-result.json +1 -0
  31. package/allure-results/6d405aea-2939-4211-ae8c-d705cd7847a8-result.json +1 -0
  32. package/allure-results/78193a1c-8fb4-4fa1-ae61-b442b735e6a2-result.json +1 -0
  33. package/allure-results/7c156a84-fff6-4e38-9fb2-b8559787299d-result.json +1 -0
  34. package/allure-results/81c881a2-134a-46d1-8fac-6be7f82208b2-result.json +1 -0
  35. package/allure-results/84dfd493-152d-472e-bd3f-0afe78f6b26f-result.json +1 -0
  36. package/allure-results/86025fdc-3bf2-4ef9-90ae-3cae234063f0-result.json +1 -0
  37. package/allure-results/89748530-4e9f-4ad3-a600-67d6ecfb0af5-result.json +1 -0
  38. package/allure-results/8b3c2df8-404b-470a-9cbd-39e401befa46-result.json +1 -0
  39. package/allure-results/8ce702b9-7c91-42b9-86f9-57c52121784e-result.json +1 -0
  40. package/allure-results/9c7b34a3-84b1-449d-bd02-33f1997e27eb-result.json +1 -0
  41. package/allure-results/a1788657-cd9f-4a87-b639-3e0f52584834-container.json +1 -0
  42. package/allure-results/a7b917eb-5177-4f4a-aa8b-04a2edf0285d-result.json +1 -0
  43. package/allure-results/aa87ef6c-02cb-4a22-869e-1e161def29d0-result.json +1 -0
  44. package/allure-results/b8a8dfaa-d1b6-41cb-bef0-417090bc6154-result.json +1 -0
  45. package/allure-results/b8c412fe-ac83-4576-81f4-ea4b32270e34-container.json +1 -0
  46. package/allure-results/be170a39-68d6-48f6-915d-95dbfee194b2-result.json +1 -0
  47. package/allure-results/e083bcb1-5524-4c6b-a1c0-c59fccf0a4a2-result.json +1 -0
  48. package/allure-results/ebfb6a2b-8dce-4caa-9871-2a19b23cd7a7-result.json +1 -0
  49. package/allure-results/ef495d15-cfbc-4904-a5ca-e6fc8d74064c-result.json +1 -0
  50. package/allure-results/f111080e-f644-4834-8383-45e2f396399f-result.json +1 -0
  51. package/allure-results/f15db1cd-8051-4a57-b85b-2625a78a68bd-result.json +1 -0
  52. package/allure-results/f2b8e231-3b72-4e4f-b7d2-385d71427c40-result.json +1 -0
  53. package/allure-results/f56ffbe5-bd28-4a7f-a575-642848659921-container.json +1 -0
  54. package/coverage/base.css +224 -0
  55. package/coverage/block-navigation.js +87 -0
  56. package/coverage/clover.xml +109 -0
  57. package/coverage/coverage-final.json +7 -0
  58. package/coverage/favicon.png +0 -0
  59. package/coverage/index.html +131 -0
  60. package/coverage/prettify.css +1 -0
  61. package/coverage/prettify.js +2 -0
  62. package/coverage/sort-arrow-sprite.png +0 -0
  63. package/coverage/sorter.js +210 -0
  64. package/coverage/src/fake-response.ts.html +142 -0
  65. package/coverage/src/index.html +176 -0
  66. package/coverage/src/index.ts.html +679 -0
  67. package/coverage/src/interfaces.ts.html +127 -0
  68. package/coverage/src/options.ts.html +112 -0
  69. package/coverage/src/stubs.ts.html +286 -0
  70. package/coverage/tests/__mocks__/index.html +116 -0
  71. package/coverage/tests/__mocks__/index.ts.html +199 -0
  72. package/dist/src/index.js +8 -5
  73. package/dist/src/index.js.map +1 -1
  74. package/dist/tsconfig.build.tsbuildinfo +1 -1
  75. package/index.d.ts +4 -0
  76. package/package.json +6 -6
  77. package/src/index.ts +1 -1
  78. package/.reporters.json +0 -6
@@ -0,0 +1 @@
1
+ {"uuid":"5ef8c8d3-5162-40a6-af20-534c68d89ab7","historyId":"fb5f970a9949d858c05d3827ed2ea0d8:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826435586,"name":"stubs don't throw errors","fullName":"/tests/index.spec.ts: @biorate/axios > stubs don't throw errors","stop":1770826435589}
@@ -0,0 +1 @@
1
+ {"uuid":"6333d6c1-d0a9-4010-ac90-559e27d51569","historyId":"54c3b104cf3cba03d8473bc346314122:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826477501,"name":"stubs default","fullName":"/tests/index.spec.ts: @biorate/axios > stubs default","stop":1770826477990}
@@ -0,0 +1 @@
1
+ {"uuid":"640ada6c-e27b-49bb-9538-2f89caf15bec","historyId":"f310b0c7caac6d84cbcf72f774db45b3:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826435564,"name":"stubs persistent","fullName":"/tests/index.spec.ts: @biorate/axios > stubs persistent","stop":1770826435565}
@@ -0,0 +1 @@
1
+ {"uuid":"6b24004c-0cf5-4afb-be3d-66bb02b6f940","historyId":"bd96361be2e88a9145d2af13138b1f07:d41d8cd98f00b204e9800998ecf8427e","status":"broken","statusDetails":{"message":"timeout of 1500ms exceeded","trace":"AxiosError: timeout of 1500ms exceeded\n at RedirectableRequest.handleRequestTimeout (/www/biorate/core/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/adapters/http.js:857:15)\n at RedirectableRequest.emit (node:events:508:28)\n at RedirectableRequest.emit (node:domain:489:12)\n at Timeout._onTimeout (/www/biorate/core/node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js:221:12)\n at listOnTimeout (node:internal/timers:605:17)\n at processTimers (node:internal/timers:541:7)\n at Axios.request (/www/biorate/core/node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/Axios.js:45:41)\n at processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async Mocks2.fetch (src/index.ts:2:8544)\n at async Mocks2._fetch (src/index.ts:2:6871)\n at async Context.<anonymous> (tests/index.spec.ts:38:5)"},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826429993,"name":"mocks","fullName":"/tests/index.spec.ts: @biorate/axios > mocks","stop":1770826432258}
@@ -0,0 +1 @@
1
+ {"uuid":"6d405aea-2939-4211-ae8c-d705cd7847a8","historyId":"f310b0c7caac6d84cbcf72f774db45b3:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826545271,"name":"stubs persistent","fullName":"/tests/index.spec.ts: @biorate/axios > stubs persistent","stop":1770826545272}
@@ -0,0 +1 @@
1
+ {"uuid":"78193a1c-8fb4-4fa1-ae61-b442b735e6a2","historyId":"fb5f970a9949d858c05d3827ed2ea0d8:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826545282,"name":"stubs don't throw errors","fullName":"/tests/index.spec.ts: @biorate/axios > stubs don't throw errors","stop":1770826545285}
@@ -0,0 +1 @@
1
+ {"uuid":"7c156a84-fff6-4e38-9fb2-b8559787299d","historyId":"8aeacfe4bf178a1f980b6da06abee98e:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826476046,"name":"retry","fullName":"/tests/index.spec.ts: @biorate/axios > retry","stop":1770826477023}
@@ -0,0 +1 @@
1
+ {"uuid":"81c881a2-134a-46d1-8fac-6be7f82208b2","historyId":"db3801bced156cb92e1cd4817da12cbb:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826474226,"name":"fetch","fullName":"/tests/index.spec.ts: @biorate/axios > fetch","stop":1770826475149}
@@ -0,0 +1 @@
1
+ {"uuid":"84dfd493-152d-472e-bd3f-0afe78f6b26f","historyId":"db3801bced156cb92e1cd4817da12cbb:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826428967,"name":"fetch","fullName":"/tests/index.spec.ts: @biorate/axios > fetch","stop":1770826429757}
@@ -0,0 +1 @@
1
+ {"uuid":"86025fdc-3bf2-4ef9-90ae-3cae234063f0","historyId":"09bc3c3b630eabaa47934dcf3cc9b424:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826478172,"name":"stubs throws error","fullName":"/tests/index.spec.ts: @biorate/axios > stubs throws error","stop":1770826478173}
@@ -0,0 +1 @@
1
+ {"uuid":"89748530-4e9f-4ad3-a600-67d6ecfb0af5","historyId":"bd96361be2e88a9145d2af13138b1f07:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826475335,"name":"mocks","fullName":"/tests/index.spec.ts: @biorate/axios > mocks","stop":1770826476046}
@@ -0,0 +1 @@
1
+ {"uuid":"8b3c2df8-404b-470a-9cbd-39e401befa46","historyId":"1bf429477124f27e971bf5dafdffaf1a:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826540993,"name":"catch","fullName":"/tests/index.spec.ts: @biorate/axios > catch","stop":1770826541084}
@@ -0,0 +1 @@
1
+ {"uuid":"8ce702b9-7c91-42b9-86f9-57c52121784e","historyId":"b5f6a45f72e1a3abeebb87a59260ca56:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826435602,"name":"options check","fullName":"/tests/index.spec.ts: @biorate/axios > options check","stop":1770826435605}
@@ -0,0 +1 @@
1
+ {"uuid":"9c7b34a3-84b1-449d-bd02-33f1997e27eb","historyId":"db47123f7dbba1177039e2117540ad1b:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826543864,"name":"defaults","fullName":"/tests/index.spec.ts: @biorate/axios > defaults","stop":1770826544328}
@@ -0,0 +1 @@
1
+ {"uuid":"a1788657-cd9f-4a87-b639-3e0f52584834","children":["f15db1cd-8051-4a57-b85b-2625a78a68bd","8b3c2df8-404b-470a-9cbd-39e401befa46","46595c34-330b-40d4-920b-d9ed72544bd5","e083bcb1-5524-4c6b-a1c0-c59fccf0a4a2","024aff4f-434d-462d-b12d-51ad34e0fdd5","9c7b34a3-84b1-449d-bd02-33f1997e27eb","aa87ef6c-02cb-4a22-869e-1e161def29d0","f111080e-f644-4834-8383-45e2f396399f","6d405aea-2939-4211-ae8c-d705cd7847a8","545d7b97-ddce-4b37-9173-d82320af1cf8","78193a1c-8fb4-4fa1-ae61-b442b735e6a2","51ad02af-e7b2-49f6-b7be-52951c85c92c","4ab9592b-3194-4468-b531-6b00b0d21c0b"],"befores":[],"afters":[],"name":"@biorate/axios"}
@@ -0,0 +1 @@
1
+ {"uuid":"a7b917eb-5177-4f4a-aa8b-04a2edf0285d","historyId":"fb5f970a9949d858c05d3827ed2ea0d8:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826478173,"name":"stubs don't throw errors","fullName":"/tests/index.spec.ts: @biorate/axios > stubs don't throw errors","stop":1770826478174}
@@ -0,0 +1 @@
1
+ {"uuid":"aa87ef6c-02cb-4a22-869e-1e161def29d0","historyId":"54c3b104cf3cba03d8473bc346314122:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826544328,"name":"stubs default","fullName":"/tests/index.spec.ts: @biorate/axios > stubs default","stop":1770826544800}
@@ -0,0 +1 @@
1
+ {"uuid":"b8a8dfaa-d1b6-41cb-bef0-417090bc6154","historyId":"1bf429477124f27e971bf5dafdffaf1a:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826429759,"name":"catch","fullName":"/tests/index.spec.ts: @biorate/axios > catch","stop":1770826429878}
@@ -0,0 +1 @@
1
+ {"uuid":"b8c412fe-ac83-4576-81f4-ea4b32270e34","children":["84dfd493-152d-472e-bd3f-0afe78f6b26f","b8a8dfaa-d1b6-41cb-bef0-417090bc6154","ef495d15-cfbc-4904-a5ca-e6fc8d74064c","6b24004c-0cf5-4afb-be3d-66bb02b6f940","312ebf35-2d28-4c05-8fe3-e3d2dbf6e476","ebfb6a2b-8dce-4caa-9871-2a19b23cd7a7","be170a39-68d6-48f6-915d-95dbfee194b2","4bbf362f-9228-4d11-97c3-c94296b4814f","640ada6c-e27b-49bb-9538-2f89caf15bec","0f32df6c-5e9b-47f1-89c8-ea600c83ba26","5ef8c8d3-5162-40a6-af20-534c68d89ab7","3c46512d-2d69-4cf9-a829-1a2ed1e12357","8ce702b9-7c91-42b9-86f9-57c52121784e"],"befores":[],"afters":[],"name":"@biorate/axios"}
@@ -0,0 +1 @@
1
+ {"uuid":"be170a39-68d6-48f6-915d-95dbfee194b2","historyId":"54c3b104cf3cba03d8473bc346314122:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826434220,"name":"stubs default","fullName":"/tests/index.spec.ts: @biorate/axios > stubs default","stop":1770826434987}
@@ -0,0 +1 @@
1
+ {"uuid":"e083bcb1-5524-4c6b-a1c0-c59fccf0a4a2","historyId":"bd96361be2e88a9145d2af13138b1f07:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826541132,"name":"mocks","fullName":"/tests/index.spec.ts: @biorate/axios > mocks","stop":1770826542850}
@@ -0,0 +1 @@
1
+ {"uuid":"ebfb6a2b-8dce-4caa-9871-2a19b23cd7a7","historyId":"db47123f7dbba1177039e2117540ad1b:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826433249,"name":"defaults","fullName":"/tests/index.spec.ts: @biorate/axios > defaults","stop":1770826434215}
@@ -0,0 +1 @@
1
+ {"uuid":"ef495d15-cfbc-4904-a5ca-e6fc8d74064c","historyId":"9ab06665e094dedc426355a416210fe0:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826429881,"name":"finally","fullName":"/tests/index.spec.ts: @biorate/axios > finally","stop":1770826429988}
@@ -0,0 +1 @@
1
+ {"uuid":"f111080e-f644-4834-8383-45e2f396399f","historyId":"5064897837220b3d846c979a4d53f91d:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826544802,"name":"stubs unmock","fullName":"/tests/index.spec.ts: @biorate/axios > stubs unmock","stop":1770826545271}
@@ -0,0 +1 @@
1
+ {"uuid":"f15db1cd-8051-4a57-b85b-2625a78a68bd","historyId":"db3801bced156cb92e1cd4817da12cbb:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826540310,"name":"fetch","fullName":"/tests/index.spec.ts: @biorate/axios > fetch","stop":1770826540990}
@@ -0,0 +1 @@
1
+ {"uuid":"f2b8e231-3b72-4e4f-b7d2-385d71427c40","historyId":"f310b0c7caac6d84cbcf72f774db45b3:d41d8cd98f00b204e9800998ecf8427e","status":"passed","statusDetails":{},"stage":"finished","steps":[],"attachments":[],"parameters":[],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"@biorate/axios"}],"links":[],"start":1770826478170,"name":"stubs persistent","fullName":"/tests/index.spec.ts: @biorate/axios > stubs persistent","stop":1770826478171}
@@ -0,0 +1 @@
1
+ {"uuid":"f56ffbe5-bd28-4a7f-a575-642848659921","children":["a1788657-cd9f-4a87-b639-3e0f52584834"],"befores":[],"afters":[],"name":"Global"}
@@ -0,0 +1,224 @@
1
+ body, html {
2
+ margin:0; padding: 0;
3
+ height: 100%;
4
+ }
5
+ body {
6
+ font-family: Helvetica Neue, Helvetica, Arial;
7
+ font-size: 14px;
8
+ color:#333;
9
+ }
10
+ .small { font-size: 12px; }
11
+ *, *:after, *:before {
12
+ -webkit-box-sizing:border-box;
13
+ -moz-box-sizing:border-box;
14
+ box-sizing:border-box;
15
+ }
16
+ h1 { font-size: 20px; margin: 0;}
17
+ h2 { font-size: 14px; }
18
+ pre {
19
+ font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
20
+ margin: 0;
21
+ padding: 0;
22
+ -moz-tab-size: 2;
23
+ -o-tab-size: 2;
24
+ tab-size: 2;
25
+ }
26
+ a { color:#0074D9; text-decoration:none; }
27
+ a:hover { text-decoration:underline; }
28
+ .strong { font-weight: bold; }
29
+ .space-top1 { padding: 10px 0 0 0; }
30
+ .pad2y { padding: 20px 0; }
31
+ .pad1y { padding: 10px 0; }
32
+ .pad2x { padding: 0 20px; }
33
+ .pad2 { padding: 20px; }
34
+ .pad1 { padding: 10px; }
35
+ .space-left2 { padding-left:55px; }
36
+ .space-right2 { padding-right:20px; }
37
+ .center { text-align:center; }
38
+ .clearfix { display:block; }
39
+ .clearfix:after {
40
+ content:'';
41
+ display:block;
42
+ height:0;
43
+ clear:both;
44
+ visibility:hidden;
45
+ }
46
+ .fl { float: left; }
47
+ @media only screen and (max-width:640px) {
48
+ .col3 { width:100%; max-width:100%; }
49
+ .hide-mobile { display:none!important; }
50
+ }
51
+
52
+ .quiet {
53
+ color: #7f7f7f;
54
+ color: rgba(0,0,0,0.5);
55
+ }
56
+ .quiet a { opacity: 0.7; }
57
+
58
+ .fraction {
59
+ font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
60
+ font-size: 10px;
61
+ color: #555;
62
+ background: #E8E8E8;
63
+ padding: 4px 5px;
64
+ border-radius: 3px;
65
+ vertical-align: middle;
66
+ }
67
+
68
+ div.path a:link, div.path a:visited { color: #333; }
69
+ table.coverage {
70
+ border-collapse: collapse;
71
+ margin: 10px 0 0 0;
72
+ padding: 0;
73
+ }
74
+
75
+ table.coverage td {
76
+ margin: 0;
77
+ padding: 0;
78
+ vertical-align: top;
79
+ }
80
+ table.coverage td.line-count {
81
+ text-align: right;
82
+ padding: 0 5px 0 20px;
83
+ }
84
+ table.coverage td.line-coverage {
85
+ text-align: right;
86
+ padding-right: 10px;
87
+ min-width:20px;
88
+ }
89
+
90
+ table.coverage td span.cline-any {
91
+ display: inline-block;
92
+ padding: 0 5px;
93
+ width: 100%;
94
+ }
95
+ .missing-if-branch {
96
+ display: inline-block;
97
+ margin-right: 5px;
98
+ border-radius: 3px;
99
+ position: relative;
100
+ padding: 0 4px;
101
+ background: #333;
102
+ color: yellow;
103
+ }
104
+
105
+ .skip-if-branch {
106
+ display: none;
107
+ margin-right: 10px;
108
+ position: relative;
109
+ padding: 0 4px;
110
+ background: #ccc;
111
+ color: white;
112
+ }
113
+ .missing-if-branch .typ, .skip-if-branch .typ {
114
+ color: inherit !important;
115
+ }
116
+ .coverage-summary {
117
+ border-collapse: collapse;
118
+ width: 100%;
119
+ }
120
+ .coverage-summary tr { border-bottom: 1px solid #bbb; }
121
+ .keyline-all { border: 1px solid #ddd; }
122
+ .coverage-summary td, .coverage-summary th { padding: 10px; }
123
+ .coverage-summary tbody { border: 1px solid #bbb; }
124
+ .coverage-summary td { border-right: 1px solid #bbb; }
125
+ .coverage-summary td:last-child { border-right: none; }
126
+ .coverage-summary th {
127
+ text-align: left;
128
+ font-weight: normal;
129
+ white-space: nowrap;
130
+ }
131
+ .coverage-summary th.file { border-right: none !important; }
132
+ .coverage-summary th.pct { }
133
+ .coverage-summary th.pic,
134
+ .coverage-summary th.abs,
135
+ .coverage-summary td.pct,
136
+ .coverage-summary td.abs { text-align: right; }
137
+ .coverage-summary td.file { white-space: nowrap; }
138
+ .coverage-summary td.pic { min-width: 120px !important; }
139
+ .coverage-summary tfoot td { }
140
+
141
+ .coverage-summary .sorter {
142
+ height: 10px;
143
+ width: 7px;
144
+ display: inline-block;
145
+ margin-left: 0.5em;
146
+ background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
147
+ }
148
+ .coverage-summary .sorted .sorter {
149
+ background-position: 0 -20px;
150
+ }
151
+ .coverage-summary .sorted-desc .sorter {
152
+ background-position: 0 -10px;
153
+ }
154
+ .status-line { height: 10px; }
155
+ /* yellow */
156
+ .cbranch-no { background: yellow !important; color: #111; }
157
+ /* dark red */
158
+ .red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
159
+ .low .chart { border:1px solid #C21F39 }
160
+ .highlighted,
161
+ .highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
162
+ background: #C21F39 !important;
163
+ }
164
+ /* medium red */
165
+ .cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
166
+ /* light red */
167
+ .low, .cline-no { background:#FCE1E5 }
168
+ /* light green */
169
+ .high, .cline-yes { background:rgb(230,245,208) }
170
+ /* medium green */
171
+ .cstat-yes { background:rgb(161,215,106) }
172
+ /* dark green */
173
+ .status-line.high, .high .cover-fill { background:rgb(77,146,33) }
174
+ .high .chart { border:1px solid rgb(77,146,33) }
175
+ /* dark yellow (gold) */
176
+ .status-line.medium, .medium .cover-fill { background: #f9cd0b; }
177
+ .medium .chart { border:1px solid #f9cd0b; }
178
+ /* light yellow */
179
+ .medium { background: #fff4c2; }
180
+
181
+ .cstat-skip { background: #ddd; color: #111; }
182
+ .fstat-skip { background: #ddd; color: #111 !important; }
183
+ .cbranch-skip { background: #ddd !important; color: #111; }
184
+
185
+ span.cline-neutral { background: #eaeaea; }
186
+
187
+ .coverage-summary td.empty {
188
+ opacity: .5;
189
+ padding-top: 4px;
190
+ padding-bottom: 4px;
191
+ line-height: 1;
192
+ color: #888;
193
+ }
194
+
195
+ .cover-fill, .cover-empty {
196
+ display:inline-block;
197
+ height: 12px;
198
+ }
199
+ .chart {
200
+ line-height: 0;
201
+ }
202
+ .cover-empty {
203
+ background: white;
204
+ }
205
+ .cover-full {
206
+ border-right: none !important;
207
+ }
208
+ pre.prettyprint {
209
+ border: none !important;
210
+ padding: 0 !important;
211
+ margin: 0 !important;
212
+ }
213
+ .com { color: #999 !important; }
214
+ .ignore-none { color: #999; font-weight: normal; }
215
+
216
+ .wrapper {
217
+ min-height: 100%;
218
+ height: auto !important;
219
+ height: 100%;
220
+ margin: 0 auto -48px;
221
+ }
222
+ .footer, .push {
223
+ height: 48px;
224
+ }
@@ -0,0 +1,87 @@
1
+ /* eslint-disable */
2
+ var jumpToCode = (function init() {
3
+ // Classes of code we would like to highlight in the file view
4
+ var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
5
+
6
+ // Elements to highlight in the file listing view
7
+ var fileListingElements = ['td.pct.low'];
8
+
9
+ // We don't want to select elements that are direct descendants of another match
10
+ var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
11
+
12
+ // Selector that finds elements on the page to which we can jump
13
+ var selector =
14
+ fileListingElements.join(', ') +
15
+ ', ' +
16
+ notSelector +
17
+ missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
18
+
19
+ // The NodeList of matching elements
20
+ var missingCoverageElements = document.querySelectorAll(selector);
21
+
22
+ var currentIndex;
23
+
24
+ function toggleClass(index) {
25
+ missingCoverageElements
26
+ .item(currentIndex)
27
+ .classList.remove('highlighted');
28
+ missingCoverageElements.item(index).classList.add('highlighted');
29
+ }
30
+
31
+ function makeCurrent(index) {
32
+ toggleClass(index);
33
+ currentIndex = index;
34
+ missingCoverageElements.item(index).scrollIntoView({
35
+ behavior: 'smooth',
36
+ block: 'center',
37
+ inline: 'center'
38
+ });
39
+ }
40
+
41
+ function goToPrevious() {
42
+ var nextIndex = 0;
43
+ if (typeof currentIndex !== 'number' || currentIndex === 0) {
44
+ nextIndex = missingCoverageElements.length - 1;
45
+ } else if (missingCoverageElements.length > 1) {
46
+ nextIndex = currentIndex - 1;
47
+ }
48
+
49
+ makeCurrent(nextIndex);
50
+ }
51
+
52
+ function goToNext() {
53
+ var nextIndex = 0;
54
+
55
+ if (
56
+ typeof currentIndex === 'number' &&
57
+ currentIndex < missingCoverageElements.length - 1
58
+ ) {
59
+ nextIndex = currentIndex + 1;
60
+ }
61
+
62
+ makeCurrent(nextIndex);
63
+ }
64
+
65
+ return function jump(event) {
66
+ if (
67
+ document.getElementById('fileSearch') === document.activeElement &&
68
+ document.activeElement != null
69
+ ) {
70
+ // if we're currently focused on the search input, we don't want to navigate
71
+ return;
72
+ }
73
+
74
+ switch (event.which) {
75
+ case 78: // n
76
+ case 74: // j
77
+ goToNext();
78
+ break;
79
+ case 66: // b
80
+ case 75: // k
81
+ case 80: // p
82
+ goToPrevious();
83
+ break;
84
+ }
85
+ };
86
+ })();
87
+ window.addEventListener('keydown', jumpToCode);
@@ -0,0 +1,109 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1774337893340" clover="3.2.0">
3
+ <project timestamp="1774337893340" name="All files">
4
+ <metrics statements="79" coveredstatements="76" conditionals="38" coveredconditionals="31" methods="30" coveredmethods="30" elements="147" coveredelements="137" complexity="0" loc="79" ncloc="79" packages="2" files="6" classes="6"/>
5
+ <package name="src">
6
+ <metrics statements="70" coveredstatements="67" conditionals="38" coveredconditionals="31" methods="26" coveredmethods="26"/>
7
+ <file name="fake-response.ts" path="/www/biorate/core/packages/@biorate/axios/src/fake-response.ts">
8
+ <metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
9
+ <line num="12" count="7" type="stmt"/>
10
+ <line num="13" count="7" type="stmt"/>
11
+ <line num="14" count="7" type="stmt"/>
12
+ <line num="15" count="7" type="stmt"/>
13
+ <line num="16" count="7" type="stmt"/>
14
+ <line num="17" count="7" type="stmt"/>
15
+ </file>
16
+ <file name="index.ts" path="/www/biorate/core/packages/@biorate/axios/src/index.ts">
17
+ <metrics statements="41" coveredstatements="38" conditionals="19" coveredconditionals="15" methods="17" coveredmethods="17"/>
18
+ <line num="14" count="1" type="stmt"/>
19
+ <line num="22" count="1" type="stmt"/>
20
+ <line num="47" count="14" type="stmt"/>
21
+ <line num="51" count="1" type="stmt"/>
22
+ <line num="56" count="8" type="stmt"/>
23
+ <line num="62" count="3" type="stmt"/>
24
+ <line num="68" count="11" type="stmt"/>
25
+ <line num="74" count="7" type="stmt"/>
26
+ <line num="80" count="1" type="stmt"/>
27
+ <line num="86" count="2" type="stmt"/>
28
+ <line num="92" count="1" type="stmt"/>
29
+ <line num="101" count="0" type="stmt"/>
30
+ <line num="117" count="11" type="stmt"/>
31
+ <line num="118" count="11" type="stmt"/>
32
+ <line num="119" count="11" type="cond" truecount="2" falsecount="0"/>
33
+ <line num="120" count="4" type="stmt"/>
34
+ <line num="121" count="4" type="cond" truecount="2" falsecount="0"/>
35
+ <line num="123" count="9" type="stmt"/>
36
+ <line num="124" count="6" type="cond" truecount="2" falsecount="0"/>
37
+ <line num="125" count="6" type="stmt"/>
38
+ <line num="134" count="14" type="stmt"/>
39
+ <line num="141" count="9" type="stmt"/>
40
+ <line num="142" count="9" type="cond" truecount="1" falsecount="1"/>
41
+ <line num="143" count="9" type="stmt"/>
42
+ <line num="144" count="9" type="cond" truecount="2" falsecount="0"/>
43
+ <line num="146" count="1" type="stmt"/>
44
+ <line num="148" count="9" type="cond" truecount="3" falsecount="1"/>
45
+ <line num="149" count="0" type="stmt"/>
46
+ <line num="150" count="9" type="cond" truecount="2" falsecount="2"/>
47
+ <line num="151" count="0" type="stmt"/>
48
+ <line num="152" count="9" type="stmt"/>
49
+ <line num="155" count="9" type="stmt"/>
50
+ <line num="156" count="9" type="stmt"/>
51
+ <line num="157" count="9" type="stmt"/>
52
+ <line num="158" count="9" type="stmt"/>
53
+ <line num="159" count="6" type="stmt"/>
54
+ <line num="160" count="6" type="stmt"/>
55
+ <line num="162" count="3" type="stmt"/>
56
+ <line num="163" count="3" type="stmt"/>
57
+ <line num="165" count="9" type="stmt"/>
58
+ <line num="172" count="9" type="stmt"/>
59
+ </file>
60
+ <file name="interfaces.ts" path="/www/biorate/core/packages/@biorate/axios/src/interfaces.ts">
61
+ <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
62
+ </file>
63
+ <file name="options.ts" path="/www/biorate/core/packages/@biorate/axios/src/options.ts">
64
+ <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
65
+ <line num="3" count="1" type="stmt"/>
66
+ <line num="7" count="1" type="stmt"/>
67
+ </file>
68
+ <file name="stubs.ts" path="/www/biorate/core/packages/@biorate/axios/src/stubs.ts">
69
+ <metrics statements="21" coveredstatements="21" conditionals="19" coveredconditionals="16" methods="6" coveredmethods="6"/>
70
+ <line num="8" count="1" type="stmt"/>
71
+ <line num="10" count="7" type="stmt"/>
72
+ <line num="16" count="2" type="stmt"/>
73
+ <line num="26" count="11" type="cond" truecount="2" falsecount="0"/>
74
+ <line num="27" count="11" type="stmt"/>
75
+ <line num="30" count="7" type="stmt"/>
76
+ <line num="32" count="7" type="stmt"/>
77
+ <line num="34" count="7" type="stmt"/>
78
+ <line num="43" count="7" type="cond" truecount="2" falsecount="0"/>
79
+ <line num="44" count="7" type="cond" truecount="1" falsecount="1"/>
80
+ <line num="45" count="7" type="stmt"/>
81
+ <line num="52" count="7" type="stmt"/>
82
+ <line num="53" count="7" type="stmt"/>
83
+ <line num="54" count="10" type="stmt"/>
84
+ <line num="55" count="10" type="cond" truecount="2" falsecount="0"/>
85
+ <line num="56" count="10" type="cond" truecount="1" falsecount="1"/>
86
+ <line num="57" count="10" type="cond" truecount="2" falsecount="0"/>
87
+ <line num="58" count="2" type="stmt"/>
88
+ <line num="59" count="8" type="stmt"/>
89
+ <line num="64" count="2" type="cond" truecount="1" falsecount="1"/>
90
+ <line num="65" count="2" type="stmt"/>
91
+ </file>
92
+ </package>
93
+ <package name="tests.__mocks__">
94
+ <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
95
+ <file name="index.ts" path="/www/biorate/core/packages/@biorate/axios/tests/__mocks__/index.ts">
96
+ <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
97
+ <line num="7" count="14" type="stmt"/>
98
+ <line num="8" count="1" type="stmt"/>
99
+ <line num="10" count="14" type="stmt"/>
100
+ <line num="12" count="14" type="stmt"/>
101
+ <line num="15" count="14" type="stmt"/>
102
+ <line num="22" count="4" type="stmt"/>
103
+ <line num="30" count="2" type="stmt"/>
104
+ <line num="34" count="1" type="stmt"/>
105
+ <line num="36" count="1" type="stmt"/>
106
+ </file>
107
+ </package>
108
+ </project>
109
+ </coverage>