You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm having a little bit of trouble when it comes to mocking express. When I attempt to do so I get a SyntaxError telling me that I'm using and unexpected strict mode reserved word.
I'm using node 20 and mocha as the testing framework.
Hello, I'm having a little bit of trouble when it comes to mocking
express
. When I attempt to do so I get aSyntaxError
telling me that I'm using and unexpected strict mode reserved word.I'm using node 20 and
mocha
as the testing framework.I have no issues mocking other libraries, just
express
. I made this minimal example in codesanbox.io to illustrate the issue: https://codesandbox.io/p/devbox/busy-pare-xfv7gyThe text was updated successfully, but these errors were encountered: