diff options
| author | Martin Suchanek <mrtn@nrd.io> | 2020-05-25 06:12:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-25 09:12:45 -0400 |
| commit | fbbb9f1c36db526edc136fa2ecc4e6aba022099b (patch) | |
| tree | 04f7c07eb4d07330fc5292155117f8ff591cf849 | |
| parent | 20bf04dc7e046e8191443e75be451ec81523a86a (diff) | |
Add missing async delay import to code sample (#5837)
| -rw-r--r-- | docs/testing.md | 2 |
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; |
