Skellington-Closet / slack-mock

A Slack API mocker for Slack bot integration tests.
MIT License
64 stars 15 forks source link

add custom responses for more mockers #6

Closed colestrode closed 7 years ago

colestrode commented 7 years ago

Currently the following mockers always respond with 200 OK. We should add an addResponse method to each.

colestrode commented 7 years ago

think about centralizing the custom response logic. The both adding and getting a custom response is identical for incoming webhooks and the web api mocks.