fix: tests
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
72deeab2ef
commit
13a46be85b
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue