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