Added support for paginate.

This commit is contained in:
Napalys
2025-03-21 13:48:32 +01:00
parent 63193fa91c
commit f43510c9aa
3 changed files with 9 additions and 2 deletions

View File

@@ -100,6 +100,7 @@ test_ClientRequest
| tst.js:328:5:328:38 | got(und ... ptions) |
| tst.js:329:5:329:45 | got(und ... {url})) |
| tst.js:332:5:332:46 | got.ext ... ).get() |
| tst.js:334:5:334:25 | got.pag ... rl, {}) |
| tst.js:337:5:337:20 | jsonClient.get() |
| tst.js:340:5:340:21 | jsonClient2.get() |
test_getADataNode
@@ -265,6 +266,7 @@ test_getUrl
| tst.js:329:5:329:45 | got(und ... {url})) | tst.js:329:40:329:42 | url |
| tst.js:332:5:332:46 | got.ext ... ).get() | tst.js:336:41:336:43 | url |
| tst.js:332:5:332:46 | got.ext ... ).get() | tst.js:339:42:339:44 | url |
| tst.js:334:5:334:25 | got.pag ... rl, {}) | tst.js:334:18:334:20 | url |
| tst.js:337:5:337:20 | jsonClient.get() | tst.js:336:41:336:43 | url |
| tst.js:337:5:337:20 | jsonClient.get() | tst.js:339:42:339:44 | url |
| tst.js:340:5:340:21 | jsonClient2.get() | tst.js:336:41:336:43 | url |
@@ -352,5 +354,6 @@ test_getAResponseDataNode
| tst.js:328:5:328:38 | got(und ... ptions) | tst.js:328:5:328:38 | got(und ... ptions) | text | true |
| tst.js:329:5:329:45 | got(und ... {url})) | tst.js:329:5:329:45 | got(und ... {url})) | text | true |
| tst.js:332:5:332:46 | got.ext ... ).get() | tst.js:332:5:332:46 | got.ext ... ).get() | text | true |
| tst.js:334:5:334:25 | got.pag ... rl, {}) | tst.js:334:5:334:25 | got.pag ... rl, {}) | text | true |
| tst.js:337:5:337:20 | jsonClient.get() | tst.js:337:5:337:20 | jsonClient.get() | text | true |
| tst.js:340:5:340:21 | jsonClient2.get() | tst.js:340:5:340:21 | jsonClient2.get() | text | true |

View File

@@ -331,7 +331,7 @@ function gotTests(url){
const options2 = new Options({url});
got.extend(options2).extend(options).get();
got.paginate(url, {}); // not flagged
got.paginate(url, {});
const jsonClient = got.extend({url: url});
jsonClient.get();