Gelean / deldbot

Discord Bot written in Node.js
MIT License
7 stars 2 forks source link

Get tests working #9

Open Gelean opened 4 years ago

Gelean commented 4 years ago

Either mocha (https://mochajs.org) or jest (https://jestjs.io/docs/en/getting-started) https://blog.usejournal.com/jest-vs-mocha-whats-the-difference-235df75ffdf3 https://www.toptal.com/typescript/dependency-injection-discord-bot-tutorial https://jestjs.io

Gelean commented 4 years ago

Will need to modularize the code to accommodate this most likely

Gelean commented 3 years ago

https://www.twilio.com/blog/working-with-environment-variables-in-node-js-html

Gelean commented 3 years ago

https://github.com/discordjs/discord.js/issues/3576 https://github.com/stuyy/jest-unit-tests-demo https://medium.com/@aussy/lets-create-a-discord-music-bot-using-test-driven-development-tdd-part-1-9c95ea32766f

Gelean commented 2 years ago

Look into https://github.com/cordejs/corde

Gelean commented 1 year ago

https://github.com/discordjs/discord.js/discussions/6179 https://github.com/AnswerOverflow/AnswerOverflow/blob/main/apps/discord-bot/src/listeners/events/read-the-rules-consent.test.ts https://www.youtube.com/watch?v=5TjXmsJtWZc

Gelean commented 1 year ago

https://dev.to/heymarkkop/how-to-implement-test-and-mock-discordjs-v13-slash-commands-with-typescript-22lc