I am writing test cases using Mocha on Sails.js project. But on running npm test, it showing this error:
raw: Error [UsageError]: Could not run select() because of 2 problems:
• "datastore" is required, but it was not defined.
• "models" is required, but it was not defined.
Can anyone suggest how to fix this issue as because of this, I am not able to handle database from my test cases ? Please suggest.
Aucun commentaire:
Enregistrer un commentaire