Another popular method for testing your code is Code Coverage.
To test your code and prepare a simple HTML report run the following commands:
istanbul cover -x "**/config/**" _mocha -- --timeout 5000 istanbul report html
Is something missing?
If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails-docs repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.
- Custom Responses
- Extending Sails
- File Uploads
- Models and ORM
We wrote a book!
Get early access to the book
with promotion code: mcneildoc