How can I make sure if my application passes the test and works as intended?
I would just run program in node and try all the words that are listed in the //test portion of the .js file. If the words pass (ie. are translated correctly) and you dont get lint errors or a return of ‘undefined’ you should be good to go. thats how I’ve been going about it anyways
I wasn’t really right, npm run test filePath from terminal that makes more sense…
This helped! Thanks a lot!
For future reference, the commands for each app are:
To run the app
To run the tests
npm run test path/to/file.js
To lint your code (entire repository)
npm run lint