Given that most of minerva's logic consists of handler functions interacting with the Slack API, it would be good if we can unit test this stuff. We should look into a way to cleanly do this
A good place to start would be by looking into mocking or stubbing the bolt-js function calls using a library like sinon (or even jest itself)
Given that most of minerva's logic consists of handler functions interacting with the Slack API, it would be good if we can unit test this stuff. We should look into a way to cleanly do this
A good place to start would be by looking into mocking or stubbing the bolt-js function calls using a library like sinon (or even jest itself)