mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
add new unit test, fix minor bugs
This commit is contained in:
parent
f8e55ea307
commit
1730e6d964
7 changed files with 30 additions and 2 deletions
|
@ -3,5 +3,6 @@ async function test() {
|
|||
for (let i=0; i<20; i++) {
|
||||
let r = await libcurl.fetch("https://example.com/");
|
||||
assert(r.status === 200, "wrong status");
|
||||
await r.text();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue