tests: fix client unit tests

This commit is contained in:
Matteo Pagliazzi
2018-02-19 19:38:20 +01:00
parent 9919faeed8
commit f2e5fdddf1
2 changed files with 2 additions and 2 deletions

View File

@@ -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', () => {

View File

@@ -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', () => {