Closed Omochice closed 1 month ago
Deno v2 has deno test --doc
deno test --doc
it has below syntax:
/** * ```ts * import { assertEquals } from "jsr:@std/assert/equals"; * * assertEquals(add(1, 2), 3); * ``` */ export function add(a: number, b: number) { return a + b; }
I want to update this * import { assertEquals } from "jsr:@std/assert/equals";
* import { assertEquals } from "jsr:@std/assert/equals";
ref: https://deno.com/blog/v2.0-release-candidate#doc-tests-with-deno-test---doc
we can upgrade it already !
ref: #185
Background
Deno v2 has
deno test --doc
it has below syntax:
I want to update this
* import { assertEquals } from "jsr:@std/assert/equals";
ref: https://deno.com/blog/v2.0-release-candidate#doc-tests-with-deno-test---doc