veksen
veksen
DIAdiscord.js - Imagine an app
Created by veksen on 5/25/2025 in #djs-questions
Testing djs commands/flows
What's the generic consensus for (unit/integration) testing commands? Mock the djs return values? Room for error if I my mock doesn't reproduce the behaviour accurately. I'm currently testing all of the beneath code for accessing my data (services/models).
8 replies