Word Game failing auto testing

I have been racking my head against the wall trying to understand why I am failing these auto tests when the code seems to work fine manually. The errors are saying my code isn't handling these words appropriately, but when played the game updates the win/loss counters, the underscores, and the incorrect letters as necessary. It also resets upon completion and stores the previous word as needed....I am at a loss. Here is a pastebin for my code: https://pastebin.com/vhEZxQh6 Here is a pastebin for the mocha tests file: https://pastebin.com/gFSEuCKG
Pastebin
JS Code Word Game - 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.
Pastebin
Mocha Tests for Word Game - 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
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server