snyk / nodejs-lockfile-parser

Generate a Snyk dependency tree from package-lock.json or yarn.lock file
Other
59 stars 28 forks source link

Improve testing code and introduce snapshots #113

Closed abdulhannanali closed 3 months ago

abdulhannanali commented 3 years ago

The testing code right now is spread between node-tap and jest. Moreover, the process of introducing properties and updating fixtures is quite cumbersome and not for everyone.

This could be improved, in order to make the testing seamless and smoother. I propose following changes.

lili2311 commented 3 years ago

hi @abdulhannanali thanks for raising this, we are indeed in the process of migrating to jest. Completely with you on the snapshots :)

abdulhannanali commented 3 years ago

Great to hear that! Hope the migration goes well. :+1: