Skip to content

Commit

Permalink
test: Fixing issues from the drawer content component unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwlfreitas committed Aug 15, 2020
1 parent 02012f5 commit 38aed52
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 40 deletions.
3 changes: 0 additions & 3 deletions tests/shared/getters.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ export const getters = {
email: '[email protected]',
};
},
[`${TYPES.modules.CORE}/${TYPES.getters.GET_LAYOUT_DIRECTION}`]: () => {
return null;
},
};
8 changes: 2 additions & 6 deletions tests/unit/components/DrawerContent.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ describe('DrawerContent.vue', () => {
expect(wrapper.html()).toBeTruthy();
});

it('snapshot', () => {
expect(wrapper.element).toMatchSnapshot();
});

it('checks onNavigationItemTap() exsits', () => {
it('checks onNavigationItemTap() exists', () => {
expect(wrapper.vm.onNavigationItemTap).toBeDefined();
});

Expand All @@ -57,7 +53,7 @@ describe('DrawerContent.vue', () => {
expect(wrapper.vm.onNavigationItemTap).toHaveBeenCalled();
});

it('checks logout() exsits', () => {
it('checks logout() exists', () => {
expect(wrapper.vm.logout).toBeDefined();
});

Expand Down
31 changes: 0 additions & 31 deletions tests/unit/components/FeedbackNotification.spec.js

This file was deleted.

0 comments on commit 38aed52

Please sign in to comment.