habitica/test
aszlig 5167f847d0 tests: Increase timeouts instead of disabling them (#10367)
Some tests were disabled in ba799c67f9 and
10567d81e2, 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
2018-05-18 17:02:20 +02:00
..
api/v3 tests: Increase timeouts instead of disabling them (#10367) 2018-05-18 17:02:20 +02:00
client Added category tags tests. 2018-05-07 18:29:05 +02:00
common Purchase API Refactoring: Spells [Gold] (#10305) 2018-05-18 17:00:39 +02:00
content api: add pagination for guilds 2017-03-13 19:46:53 +01:00
helpers Hiding popunder if challenge data is incomplete (#10284) 2018-04-28 17:38:38 +02:00
migrations API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
sanity Clean up references to repo as HabitRPG/habitrpg (#8742) 2017-06-06 18:51:54 -07:00
.eslintrc Upgrade ESLint to v3 (#8299) 2016-12-20 22:31:36 +01:00
mocha.opts Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
README.md update / delete outdated README.md files (#8719) 2017-05-14 14:40:13 +10:00

For information about writing and running tests, see Using Your Local Install to Modify Habitica's Website and API.