Closed cmoon2000 closed 8 years ago
Thanks for posting this. The name of the file doesn't matter as long as you use that filename in the command. So if you have a file named foobar.js
which has tests in it, you can use the following:
"scripts": {
"test": "node foobar.js"
},
In ex6-npm test, I verify successful with text.js. But the guide talks about test.js