forked from verdnatura/salix-front
refactor: refs #6993 fix test error
This commit is contained in:
parent
9f24f1f97c
commit
7072dc783b
|
@ -59,13 +59,13 @@ describe('VnPaginate', () => {
|
||||||
|
|
||||||
await vm.paginate();
|
await vm.paginate();
|
||||||
|
|
||||||
expect(vm.store.skip).toEqual(6);
|
expect(vm.store.skip).toEqual(3);
|
||||||
expect(vm.store.data.length).toEqual(9);
|
expect(vm.store.data.length).toEqual(6);
|
||||||
|
|
||||||
await vm.paginate();
|
await vm.paginate();
|
||||||
|
|
||||||
expect(vm.store.skip).toEqual(9);
|
expect(vm.store.skip).toEqual(6);
|
||||||
expect(vm.store.data.length).toEqual(12);
|
expect(vm.store.data.length).toEqual(9);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue