habitica-self-host/test
Julius Jung d4bc7c77a9 Check previous gear owned before purchasing next level gear (fixes #9071) (#9466)
* add another check if previous gear is owned

* respect gear purchase order

* catch error with miscalculation of equipment number floor

* add integration test for proper equipment purchasing order

* fix syntax

* add 'previousGearNotOwned' string

* rewrite logic for different starting levels for wep vs others

* separate and add tests for armor and weapon

* rename variable for clarification

* skip check if itemIndex is NaN

* change obscure NaN check for readability

* change conditional from checking NaN to Int
2017-12-05 13:58:12 -06:00
..
api/v3 Check previous gear owned before purchasing next level gear (fixes #9071) (#9466) 2017-12-05 13:58:12 -06:00
client Party roster sorter: Member Modal Component (#9472) 2017-11-27 19:54:13 -06:00
common Validate that everyX values in dailies are integers bounded by 0 and 9999 fixes #8782 (#9268) 2017-12-05 13:55:32 -06: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.