With more and more commands we have created, we need a complete test that make sure all command will follow the rules in index.js.
We need a new test for doing this, which can simulate a bot that receive commands. Unit test can only test functions but not the real bot.
With more and more commands we have created, we need a complete test that make sure all command will follow the rules in
index.js
. We need a new test for doing this, which can simulate a bot that receive commands. Unit test can only test functions but not the real bot.