Checks
Do you want to be assigned to this issue?
Description of the Feature Request
While working on #793 and updating the new Mock Models, I realized most of the mock models can be filled directly from our config.js file.
The problem is the config.js file is formatted in a way to be easier to work with for some tests. If we format it properly for example each role or channel in the array being
{ id, name } then we can create a default mocks that will auto-inject all of these values directly for our tests without having to manually fill them every time.
If necessary we can add more values to the config so that we can simulate our whole discord server, the only thing that would be missing is members, which we will still have to rely on fake members that we create manually.
Acceptance Criteria
Additional information
No response
Checks
command name: brief description of requestformat, e.g./help: add optional @user parameterDo you want to be assigned to this issue?
Description of the Feature Request
While working on #793 and updating the new Mock Models, I realized most of the mock models can be filled directly from our
config.jsfile.The problem is the
config.jsfile is formatted in a way to be easier to work with for some tests. If we format it properly for example each role or channel in the array being{ id, name } then we can create a default mocks that will auto-inject all of these values directly for our tests without having to manually fill them every time.
If necessary we can add more values to the config so that we can simulate our whole discord server, the only thing that would be missing is members, which we will still have to rely on fake members that we create manually.
Acceptance Criteria
Additional information
No response