imo this belongs in the `scripts.test` field in package.json, the default for node modules