adds the following npm scripts to the package.json file:
"scripts": {
"cover:browser":"npm test -- --coverage-report=lcov",
"cover:cli":"npm test -- --cov",
"cover:travis":"npm test -- --coverage-report=lcov --no-browser",
"test":"tap test/**/*.test.js --reporter spec"
}
note: the generator will not overwrite a test script if it already exists in a package.json file, unless it’s the default echo \"Error: no test specified\" && exit 1 script