mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Fix vue test stacktraces (#12612)
* Issue 10786 - Add unit test for Home component * Issue 10786 - Improve test setup and test invite parameter variations * Issue 10786 - Improve Vue.js test isolation by adding async keyword to dispatch function * Issue 10786 - Missing action does not need to be awaited * fix(vuejs-unit-tests): Fewer stacktraces in avatar.spec.js * No more stacktraces in avatar.spec.js * Register dummy directive in chatCard.spec.js * Resolve stacktraces in column.spec.js * Resolve stacktrace in notifications.spec.js * Resolve warnings in user.spec.js * Resolve asynchronous stacktrace from home.spec.js * Remove unnecessary mount call. * Clear up some let clutter in column.spec.js
This commit is contained in:
@@ -227,7 +227,7 @@ export default {
|
||||
return this.member.preferences.costume ? 'costume' : 'equipped';
|
||||
},
|
||||
specialMountClass () {
|
||||
if (!this.avatarOnly && this.member.items.currentMount && this.member.items.currentMount.indexOf('Kangaroo') !== -1) {
|
||||
if (!this.avatarOnly && this.member.items.currentMount && this.member.items.currentMount.includes('Kangaroo')) {
|
||||
return 'offset-kangaroo';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user