habitica/test/api/unit/models
Jon Wolverton f86bb98ccd
Collection quest ignoring items (#13401)
* update tests to check for issue #12664

* rewrite processCollectionQuest to allocate quest items proportionally

Removes need to check for excess items, fixing issue #12664

* move test for this bug to the correct context section & remove redundant test

* refactor processCollectionQuest more

* tweak confusing comments
2021-08-26 16:33:29 -05:00
..
challenge.test.js Added code to update user tag list along with the existing code that already involves updating the user documents of challenge members (#12312) 2020-07-03 21:55:59 +02:00
group.test.js Collection quest ignoring items (#13401) 2021-08-26 16:33:29 -05:00
group_tasks.test.js Teams UI Redesign and A11y Updates (#12142) 2020-07-25 07:37:10 -05:00
message.test.js tests(message model): add unit tests 2020-03-04 17:51:14 +01:00
newsPost.js Implement Bailey CMS API (#10739) 2020-10-13 10:15:52 -05:00
pushDevice.test.js add final tests for push devices and notifications 2020-03-01 22:10:11 +01:00
tag.test.js fix tags 2020-03-01 22:21:53 +01:00
task.test.js Add API Call to bulk score tasks (#11389) 2020-08-21 11:46:56 +02:00
user.test.js drop cap ab test: misc fixes (#12694) 2020-10-19 16:53:28 +02:00
userNotification.test.js add final tests for push devices and notifications 2020-03-01 22:10:11 +01:00
webhook.test.js chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00