Drum machine: issue with the test

Hi everyone,

I have finished the drum machine project, however when I’m running the test I’m getting back the following error:

No audio plays when the Q key is pressed : expected true to be false

I’m not sure why as the Q key is working as expected.
Does anyone know what could be the reason of that and how to fix it?

Link to the project (Netlify) below:
https://hopeful-booth-d5cb95.netlify.app

Thank you
Anna

That test is referring to pressing the Q key on the keyboard, not using the mouse. Do you have keydown handlers listening for key presses?

1 Like

Oh I missed that, thank you!