habitica/test
Nathanael Farley a48a6a292d If user's cron will happen later today, start the task yesterday. (#10783)
* If user's cron will happen later today, start the task yesterday.

* Added default dayStart to taskDefaults.

* Removed the need to call shouldDo twice to calculate nextDue.

* Revert "Removed the need to call shouldDo twice to calculate nextDue."

This reverts commit e1467f2fc33cfb11e6a4fc667460df6a48b69d45.

* Removed defaults from taskDefault arguments.

* Got user from $store in copyAsTodoModal.vue.

* Fixed tests for taskDefaults to include mock user.

* Fix shouldDo tests when run in GMT timezone.

* Added test to taskDefault; added utcOffset to taskDefault.

* Replaced utcOffset with zone.

* Removed erroneous import.
2018-11-02 16:58:01 +01:00
..
api Mongoose: use $type as the typeKey (#10789) 2018-10-28 15:23:41 +01:00
client fix deprecation warning for sinon.js 2018-10-28 12:44:34 +01:00
common If user's cron will happen later today, start the task yesterday. (#10783) 2018-11-02 16:58:01 +01:00
content api: add pagination for guilds 2017-03-13 19:46:53 +01:00
helpers Upgrade sinon (#10773) 2018-10-26 18:15:28 +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.