25 + 5 Clock Tests Failing - Type Error

So, I believe I’ve completed every User Story for the 25+5 Clock - manual testing seems to work. However, when I run the tests, a bunch of them fail due to “Uncaught TypeError: b.apply is not a function.”

My only guess is that this has to do with the fact that my setInterval function is nested within a useEffect hook (it’s the only way I could get it to work). But maybe I’m just missing something obvious.

Here is a link to my CodePen if anyone wants to take a look (sorry that my styling is bare-bones, just wanted to get a functional app first):

Here’s a link to the original challenge:

Thanks in advance for any help!

Searching through the forum posts, I see that a lot of people had issues with the tests not passing for React 18, so I switched my dependencies to 17.0.2. I still believe the clock is functioning properly, but the same tests are still failing for the same “TypeError” reason.

In fact, it seems that occasionally the clock passes 0 of the tests!

I’m still tinkering/pulling my hair out trying to solve this one.

I’ve submitted this project as completed, As far as I can tell, every user story has been fulfilled and everything seems to be functioning as intended.