React Drum Machine second to last test problems

Hello everyone! Can anybody kindly please take a look at my code and please let me know if you can figure out why my second to last test isn’t passing? The app works according to the user stories, but some technical detail is obviously standing in the way. I have read a ton of similar posts, but I could not find an answer to my problem. I am pulling my hair out. Any help would be greatly appreciated!!!

Here is the error:

No audio plays when the Q key is pressed : expected true to be false
AssertionError: No audio plays when the Q key is pressed : expected true to be false
at o. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:15104)
at o.e (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:425:182)
at Object.get ()
at Object.e [as get] (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:92:1380)
at Function.n.isFalse (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:1349)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:176603
at NodeList.forEach ()
at a. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:176461)
at c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:35224)
at i.p.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:35154)
at T.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:41723)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:42605
at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:41019)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:41088
at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:40141)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:40906
at f (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:1377)

Nick

Hello, nhealy.

This is where your issue is:

handleKeydown(e) {
        if (e.keyCode === `${this.props.keyID}`.charCodeAt(0) && this.state.padActive === false) {
             this.playSound(); 
        }
    }

Have a look at the error, and your code again.
If you cannot figure out the issue:

handleKeydown(e) {
        if (e.keyCode == `${this.props.keyID}`.charCodeAt(0)) {
             this.playSound(); 
        }
    }

I hope this helps

YES, thank you! I’d like to keep this feature in the actual app, but for the purpose of passing the test, I will take that bit out. Thank you SO MUCH!! This has literally been driving me insane.
Nick