07-21-2023, 06:29 AM
I'm trying to learn grunt. When I run npm init, I get a prompt in the process of creating a package.json file that asks for "test command" - I'm not sure how to utilize this, or what it's expecting. It doesn't seem to be well documented. If I leave it blank, I get this in the resulting package.json file:
"scripts": {
//"test": "echo \"Error: no test specified\" && exit 1"
},
Can anybody shed some light on how to set up a test script?
"scripts": {
//"test": "echo \"Error: no test specified\" && exit 1"
},
Can anybody shed some light on how to set up a test script?