summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-04-25 19:29:21 +0200
committerBert Belder <bertbelder@gmail.com>2019-08-30 14:49:03 -0700
commit723284fd20bb320fc1c5c1c53d0617c1d4169c25 (patch)
treeb5557bb39ed816d11523a4edb5f1711edc9930c3 /js
parent840c4aa2b23cad129a16b9a57eeb9dcb50083c62 (diff)
Use 'reqwest' to implement HTTP client (#2822)
Closes #2720
Diffstat (limited to 'js')
-rw-r--r--js/fetch_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/fetch_test.ts b/js/fetch_test.ts
index 1b59e068a..542d69147 100644
--- a/js/fetch_test.ts
+++ b/js/fetch_test.ts
@@ -69,8 +69,8 @@ testPerm({ net: true }, async function fetchEmptyInvalid(): Promise<void> {
} catch (err_) {
err = err_;
}
- assertEquals(err.kind, Deno.ErrorKind.InvalidUri);
- assertEquals(err.name, "InvalidUri");
+ assertEquals(err.kind, Deno.ErrorKind.RelativeUrlWithoutBase);
+ assertEquals(err.name, "RelativeUrlWithoutBase");
});
testPerm({ net: true }, async function fetchMultipartFormDataSuccess(): Promise<