Closed rhinojosadev closed 3 years ago
Hi!
Finally was able to do unit test with jest for the first discord command ( getProfile ) !
We have now two new scripts: 1) npm run test ( this one executes the normal flow of executing all the tests )
npm run test
2) npm run test:coverage I added this other instruction to measure "code quality"
npm run test:coverage
The thresholds can be changed in package.json
Awesome. Thank you! If you'd like to take on adding additional test, please feel free :)
Hi!
Finally was able to do unit test with jest for the first discord command ( getProfile ) !
We have now two new scripts: 1)
npm run test
( this one executes the normal flow of executing all the tests )2)
npm run test:coverage
I added this other instruction to measure "code quality"The thresholds can be changed in package.json