diff --git a/docs/testing.md b/docs/testing.md index c51b597c32..f444831257 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -18,12 +18,11 @@ Deno.test("hello world #1", () => { // Fully fledged test definition, longer form, but configurable (see below) Deno.test({ name: "hello world #2", - fn() => { + fn: () => { const x = 1 + 2; assertEquals(x, 3); - } + }, }); - ``` ## Assertions