This is my output for the Cooee's Technical Exam - AutoGrab Coding Challenge made with Jest testing framework using Typescript. 💖
Note
Assuming my project's repository has been cloned to your local and you are using VSCode (which I am currently using)...
To run all test scripts:
-
Click the "Terminal" tab on VSCode app and then click "New Terminal".
-
Type "npm test" in the terminal and hit "enter" key.
...and if you want to run a specific test script:
- Open the "bank.test.js" file.
- Navigate that test() function for the test case that you only want to test.
- Add .only before the parenthesis () or after the test() function.
- Click the "Terminal" tab on VSCode app and then click "New Terminal".
- Type "npm test" in the terminal and hit "enter" key.