diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-04-09 23:35:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-09 23:35:29 +0200 |
| commit | 1c7217e3909c72135020ff415e61644e20e1f62c (patch) | |
| tree | e7fc2943aec824a3755dc627c7e10fa4f821a1b5 /cli/tests/unit/http_test.ts | |
| parent | 0fd1fb9329512258064c3c04e3c2d990f3748834 (diff) | |
chore: upgrade dependencies (#10094)
This commit upgrades:
- swc_ecmascript
- swc_bundler
- deno_doc
- deno_lint
- dprint-plugin-typescript
Diffstat (limited to 'cli/tests/unit/http_test.ts')
| -rw-r--r-- | cli/tests/unit/http_test.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts index 77af953e9..94c7ac887 100644 --- a/cli/tests/unit/http_test.ts +++ b/cli/tests/unit/http_test.ts @@ -5,8 +5,6 @@ import { assertThrowsAsync, unitTest, } from "./test_util.ts"; -import { BufReader, BufWriter } from "../../../test_util/std/io/bufio.ts"; -import { TextProtoReader } from "../../../test_util/std/textproto/mod.ts"; unitTest({ perms: { net: true } }, async function httpServerBasic() { const promise = (async () => { @@ -178,7 +176,7 @@ unitTest( const httpConn = Deno.serveHttp(conn); const evt = await httpConn.nextRequest(); assert(evt); - const { request, respondWith } = evt; + const { respondWith } = evt; await respondWith(new Response("Hello World")); // TODO(ry) If we don't call httpConn.nextRequest() here we get "error sending |
