4802- Added searchbar & filter panel #39

Merged
joan merged 35 commits from 4802-searchbar into dev 2023-03-02 08:53:44 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit fe2d1d8a3e - Show all commits

View File

@ -20,6 +20,7 @@ describe('Paginate', () => {
afterEach(() => {
vm.store.data = [];
vm.store.skip = 0;
vm.pagination.page = 1;
vm.hasMoreData = true;
});
@ -56,12 +57,12 @@ describe('Paginate', () => {
await vm.paginate();
expect(vm.store.skip).toEqual(0);
expect(vm.store.skip).toEqual(3);
expect(vm.store.data.length).toEqual(6);
await vm.paginate();
expect(vm.store.skip).toEqual(3);
expect(vm.store.skip).toEqual(6);
expect(vm.store.data.length).toEqual(9);
});
});