logdna / nodejs

Node.js library for logging to LogDNA
MIT License
74 stars 66 forks source link

Fix the tests so they don't fail with the recent updates #82

Closed vilyapilya closed 5 years ago

vilyapilya commented 5 years ago

https://github.com/logdna/nodejs/pull/76 - changes are good but they break the current tests. The tests fail bc the code continues to execute after done is called in aftereach block. The initial intention of the block was to clean the logger after each test. I removed afterEach part. It is not needed anymore since each test creates its own logger.