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
+1
View File
@@ -10,3 +10,4 @@ like to see here, please open
- [Modifying the `<head>`](./examples/modifying-the-head)
- [Setting the language](./examples/setting-the-language)
- [Writing Tests](./examples/writing-tests)