mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
Some tests were disabled inba799c67f9and10567d81e2, because they tend to frequently time out after 8 seconds. Instead of disabling the tests (which IMHO is bad, because tests are there for a reason), we're now increasing the timeout to 30 seconds just for these tests. As requested by @paglias, I've marked the timeout functions with a @TODO comment, so that the slow tests or the functionality they're testing are eventually refactored. I also needed to change the arrow notation for the test cases to use the function keyword, because otherwise we don't have this.timeout() available. Signed-off-by: aszlig <aszlig@nix.build> Cc: @paglias