fix: tests
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-04-22 15:18:15 +02:00
parent 72deeab2ef
commit 13a46be85b
1 changed files with 4 additions and 4 deletions

View File

@ -59,13 +59,13 @@ describe('VnPaginate', () => {
await vm.paginate(); await vm.paginate();
expect(vm.store.skip).toEqual(3); expect(vm.store.skip).toEqual(0);
expect(vm.store.data.length).toEqual(6); expect(vm.store.data.length).toEqual(3);
await vm.paginate(); await vm.paginate();
expect(vm.store.skip).toEqual(6); expect(vm.store.skip).toEqual(0);
expect(vm.store.data.length).toEqual(9); expect(vm.store.data.length).toEqual(3);
}); });
}); });