summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/testing.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/testing.md b/docs/testing.md
index 5448f6d58..ba484c972 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -35,6 +35,8 @@ You can also test asynchronous code by passing a test function that returns a
promise. For this you can use the `async` keyword when defining a function:
```ts
+import { delay } from "https://deno.land/std/async/delay.ts";
+
Deno.test("async hello world", async () => {
const x = 1 + 2;