We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f992bc commit 68f5250Copy full SHA for 68f5250
tests/unit/TinyPagination.spec.js
@@ -100,14 +100,14 @@ describe('TinyPagination.vue', () => {
100
it('calls nextPage when click on next button', () => {
101
cmp.vm.nextPage = jest.fn();
102
103
- const el = cmp.find('.btn-next-page').trigger('click');
+ cmp.find('.btn-next-page').trigger('click');
104
expect(cmp.vm.nextPage).toBeCalled();
105
});
106
107
it('call lastPage when click on prev button', () => {
108
cmp.vm.lastPage = jest.fn();
109
110
- const el = cmp.find('.btn-prev-page').trigger('click');
+ cmp.find('.btn-prev-page').trigger('click');
111
expect(cmp.vm.lastPage).toBeCalled();
112
113
0 commit comments