How to make JS stop failing mocha automated tests. Works fine when tested manually.
Attempting to make a basic JS function that greets the user, asks for their age, and determines birth year based on if they have already had their birthday during the current year or not.
This IS for an assignment, so I am not looking for direct answers or any sort of cheating/unethical assistance, but what I am looking for is some direction. I don't know how to proceed to get this js to pass the mocha auto tests.
JS Pastebin: https://pastebin.com/Q2Wk1Kcy
Mocha Testing Screenshot: https://i.imgur.com/BSnTQCa.png
Pastebin
js issue - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
0 Replies