Today, we don't have any tests in SlashGo, nor any way to validate changes. To handle this, for the API endpoints, we should build out a testing framework using supertest, mocha,jest etc.
The goal for this is:
- Integrating testing libraries into the project
- Adding a
npm test step in package.json
- Adding some sample tests to show functionality in action.
Today, we don't have any tests in SlashGo, nor any way to validate changes. To handle this, for the API endpoints, we should build out a testing framework using
supertest,mocha,jestetc.The goal for this is:
npm teststep inpackage.json