mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
* Add balanceGemAmount property * Add check for balanceGemAmount property * Fix balanceGemAmount to be 4 times balance
This commit is contained in:
@@ -194,6 +194,7 @@ describe('Analytics Service', function () {
|
||||
rewards: 1
|
||||
};
|
||||
expectedProperties.balance = 12;
|
||||
expectedProperties.balanceGemAmount = 48;
|
||||
|
||||
beforeEach(function() {
|
||||
user._id = 'unique-user-id';
|
||||
@@ -243,7 +244,8 @@ describe('Analytics Service', function () {
|
||||
habits: 1,
|
||||
rewards: 1
|
||||
},
|
||||
balance: 12
|
||||
balance: 12,
|
||||
balanceGemAmount: 48
|
||||
};
|
||||
|
||||
beforeEach(function() {
|
||||
|
||||
Reference in New Issue
Block a user