mock improvements #2937
Labels
kind/cleanup
Cleanup/refactor an existing component/code
triage/accepted
The issue was reviewed and is complete enough to start working on it
Milestone
Description
Our mocks have pretty much stayed using the hurriedly built mocking framework from when we started re-architecting the application, they also started off with a set of mocks from the old-style application that were probably old.
There are several things we could do to make things easier/improve our mocks, some are more urgent than others, so feel free to make sub issues for the following if its easier.
fs.ts
file that the mocks use should ideally be auto generated from the file system. Its beginning to get a little out of hand manually editing these files.@/app/kuma/
(in a@/app/kuma/mocks
folder or similar)fake-api
is probably needed, but this is the least priority. It all works fine, just its one of those "I wish this was better organized" whenever i need to go into the code there.The text was updated successfully, but these errors were encountered: