slanatech / swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
https://swaggerstats.io/
MIT License
886 stars 136 forks source link

unit tests fail at swagger-stat@0.99.5 #245

Closed zhenisduissekov closed 1 year ago

zhenisduissekov commented 1 year ago

with the last update suddenly most of the unit tests of our project started failing.

image

tests that use a file with a const swStats = require('swagger-stats') started failing,

After returning back to older swagger-stat version (0.99.4) tests started passing successfully.

I use installation method for Express and in package.json there is: "swagger-stats": "^0.99.1",

please advise really depend your on your product?)

sv2 commented 1 year ago

Seems to be related with Axios import - replaced Requests with Axios. Will address shortly.

zhenisduissekov commented 1 year ago

hi, any news on the issue? maybe need more input data?

zhenisduissekov commented 1 year ago

@sv2 hi, how is it going?

sv2 commented 1 year ago

should be addressed v0.99.6