Open Gelean opened 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
Will need to modularize the code to accommodate this most likely
https://www.twilio.com/blog/working-with-environment-variables-in-node-js-html
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
Look into https://github.com/cordejs/corde
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
https://dev.to/heymarkkop/how-to-implement-test-and-mock-discordjs-v13-slash-commands-with-typescript-22lc
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