We'd like to receive some data from an API regarding a game we're currently
talking about in the chat. Robotk could provide us with that information if we
ask nicely.
nock is a testing library to mock any http request. AFAIK it doesn't
make the request, but it captures any directed at this direction, then
composes own response later on.
How to review
Code review
Run tests
Attempt to ask robotk to obtain review of a game - You'll need to provide IGDB_API_KEY env var
Decide whether the message format provided is sufficient
What
We'd like to receive some data from an API regarding a game we're currently talking about in the chat. Robotk could provide us with that information if we ask nicely.
nock
is a testing library to mock any http request. AFAIK it doesn't make the request, but it captures any directed at this direction, then composes own response later on.How to review
IGDB_API_KEY
env varCloses #7