diff --git a/docs/testing.md b/docs/testing.md index 89eefa0c..da71149f 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -24,8 +24,7 @@ In the following example, we will create a middleware that checks if the request path is `"/a"` and if so, sets the body and a header in the response: ```ts -import { testing } from "https://deno.land/x/oak/mod.ts"; -import type { Middleware } from "https://deno.land/x/mod.ts"; +import { testing, Middleware } from "https://deno.land/x/oak/mod.ts"; import { assert, assertEquals } from "https://deno.land/std/testing/asserts.ts"; const mw: Middleware = async (ctx, next) => {