diff options
author | Maxim Zhukov <maxim.zhukov.dev@gmail.com> | 2020-12-29 12:11:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 19:11:03 +0100 |
commit | 090ca4d3a73cf8538418a2a19d373a6860e8c59a (patch) | |
tree | c47682a8fceffb4b1ba79db6965531ecaaf8ecc7 | |
parent | 0e0ffa417bab9e5061847eea547074007d4421f8 (diff) |
docs(testing): Add import line to test example (#8909)
-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 8fc180244..8df183a34 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -9,6 +9,8 @@ To define a test you need to call `Deno.test` with a name and function to be tested. There are two styles you can use. ```ts +import { assertEquals } from "https://deno.land/std@$STD_VERSION/testing/asserts.ts"; + // Simple name and function, compact form, but not configurable Deno.test("hello world #1", () => { const x = 1 + 2; |