🐛 Fix errors
Since around 649de8c8 , I broke tests.
As of todays, there are three types of errors :
- errors because the refactor I stared around 649de8c8 is not finished, as unit tests were not updated
- unit tests that break because Hecate app's behaviour is not really specified ... and you can't test what isn't specified, can you ?
- runtime errors that are levied when you run server like with
pnpm run dev
So, all this should be fixed, so that all test pass (even if coverage is worse), and application runs without errors.
For this, you can :
- fix code or tests when you understand the goal and what (should) happen in code
- skip failing tests that you do not understand (don't delete them, I'll take a peak at them as soon as I have time)
- delete code that raises errors during runtime if this doesn't break the startup, or fix things if deleting code creates even more errors