diff --git a/test/events.spec.js b/test/events.spec.js index 03a68513..04bb6c6f 100644 --- a/test/events.spec.js +++ b/test/events.spec.js @@ -24,9 +24,8 @@ 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'); @@ -34,9 +33,6 @@ describe(suite + ': Events', () => { expect(data).toEqual(3); }, done); }); - } - - }) });