Build a Drum Machine, Failing the last two tests

Tell us what’s happening:
My drum machine fails to pass the last couple of tests, when in practice it does(as I understand the tests).

Beyond that, when I run the tests, the last test seems to get overwritten with a copy of the test preceding it.

Thanks for helping me get to the bottom of this.

Here is my drum machine implementation:


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15.

Link to the challenge:

You have some javascript errors. If you turn on developer tools and play your machine every key press is generating errors around setTimeOut. This agrees with the details in the test errors.

Thanks, that did solve the tests bugging out. The tests however are still not recognizing that the buttons are responding properly to the keydown event. Would you mind taking another look?

Edit: never mind works in chrome.