habitica-self-host/test/common
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
..
fns Fix level up webhook (#10347) 2018-05-09 19:04:29 +02:00
libs If user's cron will happen later today, start the task yesterday. (#10783) 2018-11-02 16:58:01 +01:00
ops check every armoire gear 'canOwn' method (#10760) 2018-10-15 20:11:28 +02:00
count.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
shouldDo.test.js If user's cron will happen later today, start the task yesterday. (#10783) 2018-11-02 16:58:01 +01:00
statHelpers.test.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
test_helper.js (chore): lint test/common files 2015-11-19 20:27:39 -06:00