Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
matfish2 committed Mar 28, 2020
1 parent 7f6bb54 commit c70e403
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/events.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,15 @@ describe(suite + ': Events', () => {


it ('fire a "pagination" event (#813)', done=>{
// can't paginate on server table without some mocking
if (isClient) {
vm().setPage(3);
vm().setPage(3);

vm().$nextTick(function() {
run(function() {
eventEmitted('pagination');
var data = getEventData('pagination');
expect(data).toEqual(3);
}, done);
});
}


})

});

0 comments on commit c70e403

Please sign in to comment.