docs: add "Writing Tests" example (#1223)

Fixes [#1222](https://github.com/denoland/fresh/issues/1222)


Add example implementation and documentation of test code using
`createHandler()` newly added by
[#622](https://github.com/denoland/fresh/pull/622)

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
This commit is contained in:
Octo8080X
2023-06-13 07:37:12 +10:00
committed by GitHub
co-authored by Asher Gomez
parent 9abd1c2396
commit ac32c2deb6
3 changed files with 111 additions and 1 deletions
+2 -1
View File
@@ -41,7 +41,8 @@
"title": "Examples",
"pages": [
["modifying-the-head", "Modifying the <head>"],
["setting-the-language", "Setting the language"]
["setting-the-language", "Setting the language"],
["writing-tests", "Writing Tests"]
]
}
}