Closed davidzwa closed 2 years ago
@davidzwa that is a great idea, I am happy to set things up on my end if required!
Would you be able to help us get started, if you want?
I will change the title so I wont have to cover all the code. Will add the setup 👍🏼
Issue should be closed, once PR is merged
Issue should be closed, once PR is merged
You are completely correct, apologies! I was a bit too quick.
:tada: This issue has been resolved in version 0.1.0 :tada:
Currently many runtime bugs can occur. Jest testing can prevent a lot of this.
Expected Behavior
Developing a feature should be validated through tests.
Current Behavior
Runtime bugs can only be caught by running the code.
Possible Solution
Set-up
mongodb-memory-server
jest
andjest-util
to cover the Bot with tests. https://github.com/fdm-monster/fdm-monster/tree/develop/server/testSteps to Reproduce (for bugs)
.
Context
Dev testing