I'm trying to write test. I'am using supertest and jest. This is my user create method.
and i want to test it. this is my test.
But when i run test am getting this error. message": "DataSource is not set for this entity. I searched this error but didn't get anything useful. can someone please help me with this...
In order to use a database you need some kind of datasource. Is it a database, a file? Show your code where you set the datasource or some kind of connection string.
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Gift giving made easy with the permaculture playing cards