1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00

docs(cli/dts): fix missing std/testing/asserts.ts imports in examples (#10579)

This commit is contained in:
Casper Beyer 2021-05-13 15:03:34 +08:00 committed by GitHub
parent e8a7f237de
commit 5e4764a00f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1212,6 +1212,8 @@ declare namespace Deno {
* Examples: * Examples:
* *
* ```ts * ```ts
* import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
*
* Deno.test({ * Deno.test({
* name: "inherit", * name: "inherit",
* permissions: { * permissions: {
@ -1225,6 +1227,8 @@ declare namespace Deno {
* ``` * ```
* *
* ```ts * ```ts
* import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
*
* Deno.test({ * Deno.test({
* name: "true", * name: "true",
* permissions: { * permissions: {
@ -1238,6 +1242,8 @@ declare namespace Deno {
* ``` * ```
* *
* ```ts * ```ts
* import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
*
* Deno.test({ * Deno.test({
* name: "false", * name: "false",
* permissions: { * permissions: {
@ -1251,6 +1257,8 @@ declare namespace Deno {
* ``` * ```
* *
* ``` * ```
* import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
*
* Deno.test({ * Deno.test({
* name: "localhost:8080", * name: "localhost:8080",
* permissions: { * permissions: {