diff options
Diffstat (limited to 'cli/tests/unit/response_test.ts')
-rw-r--r-- | cli/tests/unit/response_test.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cli/tests/unit/response_test.ts b/cli/tests/unit/response_test.ts index 7e444fd83..1faf8991a 100644 --- a/cli/tests/unit/response_test.ts +++ b/cli/tests/unit/response_test.ts @@ -1,5 +1,10 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -import { assert, assertEquals, unitTest } from "./test_util.ts"; +import { + assert, + assertEquals, + assertStringIncludes, + unitTest, +} from "./test_util.ts"; unitTest(async function responseText() { const response = new Response("hello world"); @@ -67,4 +72,5 @@ unitTest(function customInspectFunction(): void { url: "" }`, ); + assertStringIncludes(Deno.inspect(Response.prototype), "Response"); }); |