minio / minio-js

MinIO Client SDK for Javascript
https://docs.min.io/docs/javascript-client-quickstart-guide.html
Apache License 2.0
920 stars 271 forks source link

How to disconnect? #1288

Closed shahinghasemi closed 3 months ago

shahinghasemi commented 3 months ago

Hello everyone, How can I disconnect the client from minio server? I want this for clean up phase of my tests, otherwise it can't exit properly which causes jest throws error that there are some tasks running while the tests are done.

prakashsvmx commented 3 months ago

Please add details like trace and code to help us understand issue if any. If it is application specific, we don't accomodate in this repo.

prakashsvmx commented 3 months ago

Please note, the repo has unit and functional tests

shahinghasemi commented 3 months ago

The issue was related to setInterval that i've put inside my test.