- pbj
- draw
- ladders
- fox-goose-beans
- knights-tour
- 5-or-6
- [multiples-5]
- [even-numbers]
- [two-fer]
- [leap]
- [reverseString]
- [reverseInt]
- [palindrome]
- [rna]
- [cipher]
- [pangram]
- gigasecond
npm install -g jest
npm install -g jest-cli
https://facebook.github.io/jest/docs/en/getting-started.html https://facebook.github.io/jest/docs/en/next/cli.html
npm test
npm test -t <path/to/test.js>
Add a debugger
statement at the point in your function you want to inspect.
Call the function.
Run node inspect index.js
.
Press c
to continue execution of the file until it reaches the debugger
statement.
Enter REPL with repl
.
Ctrl + C
to exit REPL and again to exit debug.