mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-13 04:37:36 +01:00
tests: fix client unit tests
This commit is contained in:
@@ -14,7 +14,7 @@ describe('i18n plugin', () => {
|
||||
});
|
||||
|
||||
it('adds $t to Vue.prototype', () => {
|
||||
expect(Vue.prototype.$t).to.be.a.function;
|
||||
expect(Vue.prototype.$t).to.exist;
|
||||
});
|
||||
|
||||
it('$t is a proxy for common/i18n.t', () => {
|
||||
|
||||
@@ -23,7 +23,7 @@ describe('Groups Utilities Mixin', () => {
|
||||
|
||||
describe('isMemberOfGroup', () => {
|
||||
it('registers as a method', () => {
|
||||
expect(instance.isMemberOfGroup).to.be.a.function;
|
||||
expect(instance.isMemberOfGroup).to.exist;
|
||||
});
|
||||
|
||||
it('returns true when the group is the Tavern', () => {
|
||||
|
||||
Reference in New Issue
Block a user