habitica/test
Zobdek addee73e4d Set _cronSignature to current time instead of uuid (#8565)
* Changes made to satisfy #8163. _cronSignature is set to current time when cron starts so that if cron fails to set _cronSignature to 'NOT_RUNNING' for any reason a new cron can be started after a set amount of time (1 hour for now)

* fix lint errors

* changed cronTimeout to CRON_TIMEOUT

* Changed variable names and comments to be more clear

* Fixed stub for failing test so that it matches new mongo db update call signature

* First pass at unit tests, error messages and some other things need to be determined

* Fixed a tab that snuck in :/

* Fixed lint issues (issues with spaces)

* Fix infix operator spacing

* Created constant. Make sure cron failure test verifies that it is failing for the right reason

* Fixed lint errors

* Removed no longer used uuid import
2017-10-25 15:29:16 -05:00
..
api/v3 Set _cronSignature to current time instead of uuid (#8565) 2017-10-25 15:29:16 -05:00
client fix unit tests 2017-09-07 21:35:09 +02:00
common Bulk purchasing (#9196) 2017-10-23 16:05:35 -05:00
content api: add pagination for guilds 2017-03-13 19:46:53 +01:00
helpers Redirection fixes (#8592) 2017-03-23 10:25:58 -05: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 API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02: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.