Discord.js: Mocking Discord JS for Unit Testing

Created on 22 Sep 2016  路  3Comments  路  Source: discordjs/discord.js

is it possible to mock discord.js for unit testing?

question (please use Discord instead)

All 3 comments

at the moment it's not possible, we'd have to replicate a discord server which seems like an awful lot of hassle

Any update on this? Can we test the bots for replying properly to user messages? @hydrabolt

Please check the date of the last post before posting in a dead thread.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iCrawl picture iCrawl  路  3Comments

Brawaru picture Brawaru  路  3Comments

peachyfawx picture peachyfawx  路  3Comments

tom-barnes picture tom-barnes  路  3Comments

LLamaFTL picture LLamaFTL  路  3Comments