Added getter use

This commit is contained in:
Keith Holliday
2018-09-01 09:37:47 -05:00
parent 8153674dc0
commit 9725da258e
2 changed files with 7 additions and 6 deletions

View File

@@ -1,11 +1,12 @@
import { shallowMount, createLocalVue } from '@vue/test-utils';
import NotificationsComponent from 'client/components/notifications.vue';
import Store from 'client/libs/store';
import { hasClass } from 'client/store/getters/members';
const localVue = createLocalVue();
localVue.use(Store);
describe('Notifications', () => {
describe.only('Notifications', () => {
let store;
beforeEach(() => {
@@ -29,7 +30,9 @@ describe('Notifications', () => {
'user:fetch': () => {},
'tasks:fetchUserTasks': () => {},
},
getters: {},
getters: {
'members:hasClass': hasClass,
},
});
});