express-ping
express-ping copied to clipboard
test: expect 200 status
It fails on Jest unfortunately, the reason is https://github.com/facebook/jest/issues/2150. I dont know if the best course of action is to wait and see if Jest updates, or if other test framework also fails then maybe write a different implementation.
@henriklundgren, thanks for your first contribution. The issue has something to do with the way we look for the main package.json file.
Do you know if that part could be implemented in a different way?
I guess just use https://github.com/sindresorhus/pkg-dir. But I dont have time to investigate the effectiveness of the change, i.e. all the use cases.
Edit: I was too quick there wasnt I, but the idea still holds. I will update and get it hopefully right.