From 13a46be85bbc2ca6863a98e9d3730fc3b0361364 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 22 Apr 2024 15:18:15 +0200 Subject: [PATCH] fix: tests --- test/vitest/__tests__/components/Paginate.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/vitest/__tests__/components/Paginate.spec.js b/test/vitest/__tests__/components/Paginate.spec.js index cf5e5d2ea..98925204b 100644 --- a/test/vitest/__tests__/components/Paginate.spec.js +++ b/test/vitest/__tests__/components/Paginate.spec.js @@ -59,13 +59,13 @@ describe('VnPaginate', () => { await vm.paginate(); - expect(vm.store.skip).toEqual(3); - expect(vm.store.data.length).toEqual(6); + expect(vm.store.skip).toEqual(0); + expect(vm.store.data.length).toEqual(3); await vm.paginate(); - expect(vm.store.skip).toEqual(6); - expect(vm.store.data.length).toEqual(9); + expect(vm.store.skip).toEqual(0); + expect(vm.store.data.length).toEqual(3); }); });