When running tests I noticed, that typically the tests themselves run pretty quickly, but then, for some reason, we have a 1 minute delay before running the tests concludes and mocha exits. You can repro this by changing in package.json the test:test task to:
"test:test": "mocha \"dist/**/appInsights.spec.js\" --timeout 10000",
and then running npm run test:test. You should see tests being done in under a second but you won't get the cursor back for another 1,5 mins.
When running tests I noticed, that typically the tests themselves run pretty quickly, but then, for some reason, we have a 1 minute delay before running the tests concludes and mocha exits. You can repro this by changing in package.json the test:test task to:
and then running
npm run test:test. You should see tests being done in under a second but you won't get the cursor back for another 1,5 mins.