Closed jmaicaaan closed 6 years ago
Will close this one, issue is that as we are requiring the app
instance in the unit test for supertest
we need to separate the starting of server into another file. See repo commit change for more info. Thanks
I've created a unit test for the User model creation, after running
npm test
to run the test suite. The unit test is hanging and doesn't not exit. You can see the code here at my: