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

Dmitry221060 picture Dmitry221060  路  3Comments

Lombra picture Lombra  路  3Comments

Blumlaut picture Blumlaut  路  3Comments

PassTheMayo picture PassTheMayo  路  3Comments

kvn1351 picture kvn1351  路  3Comments