- Run
npm i
to install dependencies - Run
npm run test
to watch jest test suites
- Run
npm run test <test directory>
to watch a specific test suite ie:npm run test StacksAndQueues
to watch only the tests inside the Stacks and Queues directory - You can run
npm run test
with the--verbose
option to see more test output - Run
npx run <path_to_JS_file>
to run individual JavaScript files, ie:npx run StacksAndQueues/index.js
to run the index file in the Queue directory