Closed ANGkeith closed 2 weeks ago
When the handler throws error in the test suites, cleanupJobResources is not called, resulting in dangling resources. This should fix the openHandle warning when running the tests
handler
cleanupJobResources
openHandle
src/index.ts
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
When the
handler
throws error in the test suites,cleanupJobResources
is not called, resulting in dangling resources. This should fix theopenHandle
warning when running the testssrc/index.ts
so for now went with this, which should be less disruptive