mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 13:47:33 +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', () => {
|
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', () => {
|
it('$t is a proxy for common/i18n.t', () => {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ describe('Groups Utilities Mixin', () => {
|
|||||||
|
|
||||||
describe('isMemberOfGroup', () => {
|
describe('isMemberOfGroup', () => {
|
||||||
it('registers as a method', () => {
|
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', () => {
|
it('returns true when the group is the Tavern', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user