itereshchenkov / jest-teamcity

Jest Teamcity Reporter
MIT License
31 stars 13 forks source link

Remove lodash dependency #15

Closed jgoz closed 3 years ago

jgoz commented 3 years ago

Fixes #13 by removing the lodash dependency and using Object.prototype.hasOwnProperty to check for keys in the suites object.

Not quite as readable, but it makes this package more resilient to unintended breaking changes in other packages and allows proper reporting of describe blocks that use words in the Object prototype chain (such as "constructor").

Closes #14.

jgoz commented 3 years ago

Thank you for the quick turnaround!