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
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
@cpojer Reopening the accidentally closed #977
node 5.4.1
jest-cli ^12.0.2
restify ^4.0.4
supertest ^1.2.0
I want to use Jest to do backend nodejs REST API testing also. I do not want to install another test tool like mocha etc.
In above code
appServer
returns a restify server instance. I am usingsupertest
because I want to do code coverage as well. But I get below error.I have
automock
turned off. I also tried youunmock
code. I also triedjest.disableAutomock();
. Nothing works. Below is my jest config in package.jsonThe text was updated successfully, but these errors were encountered: