diff --git a/test/client/unit/specs/libs/i18n.js b/test/client/unit/specs/libs/i18n.js index 0137fefe0d..8a23a89b63 100644 --- a/test/client/unit/specs/libs/i18n.js +++ b/test/client/unit/specs/libs/i18n.js @@ -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', () => { diff --git a/test/client/unit/specs/mixins/groupsUtilities.js b/test/client/unit/specs/mixins/groupsUtilities.js index 2f9f17d012..cdfe6e5ea4 100644 --- a/test/client/unit/specs/mixins/groupsUtilities.js +++ b/test/client/unit/specs/mixins/groupsUtilities.js @@ -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', () => {