Sinon stub test error in "Build a Database of Video Game Characters" workshop

Hello,

I’m stuck on the “Build a Database of Video Game Characters” workshop
in the Relational Database course.

Even when my code appears to be correct, the tests fail due to a Sinon stub error.
I’ve restarted the course multiple times, but the same issue keeps happening in the workspace.

This seems to be a problem with the test framework rather than my solution.

Challenge link:

Error message:
(Uncaught error outside test suite)

I’ve also attached a screenshot of the error.

Thank you.