jsr-io / jsr-npm

A cli tool to make installing packages form jsr.io in node easy
https://npmjs.com/package/jsr
MIT License
100 stars 12 forks source link

chore: Remove getPkgJson test function #47

Closed marvinhagemeister closed 7 months ago

marvinhagemeister commented 7 months ago

This refactors the test setup to be more consistent. Previously, we had a getPkgJson() function which was a bit special. We can replace that with a simple readJson() instead that we're already using elsewhere. That way there are no "special" functions used anymore.