diff --git a/docs/writing-tests/test-runner.md b/docs/writing-tests/test-runner.md
index 32376be58060..e75bee68c549 100644
--- a/docs/writing-tests/test-runner.md
+++ b/docs/writing-tests/test-runner.md
@@ -199,7 +199,7 @@ Listed below are the available hooks and an overview of how to use them.
| Hook | Description |
| ------------ | -------------------------------------------------------------------------------------------------- |
-| `prepare` | Prepares the browser for tests
`async prepare({ page, browserContext, testRunnerConfig }() {}` |
+| `prepare` | Prepares the browser for tests
`async prepare({ page, browserContext, testRunnerConfig }) {}` |
| `setup` | Executes once before all the tests run
`setup() {}` |
| `preRender` | Executes before a story is rendered
`async preRender(page, context) {}` |
| `postRender` | Executes after the story is rendered
`async postRender(page, context) {}` |