Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
imanesche committed Dec 27, 2022
1 parent 46b57fa commit 2a73ebd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
13 changes: 0 additions & 13 deletions test/test.js

This file was deleted.

6 changes: 3 additions & 3 deletions test/test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import pagination from "./../index";

const p = new pagination({
data_per_page: 2,
exportDataAsarray: true
data_per_page: 10,
exportDataAsarray: false
})
// console.log(p.getTakeAndSkip(2))
console.log(p.getNumberOfPages(10))
console.log(p.getNumberOfPages(20.9))
// console.log(p.getPageNumberByOffsetAndLimit(30, 10))

0 comments on commit 2a73ebd

Please sign in to comment.