Skip to content

Commit

Permalink
Merge pull request #24583 from kota-kamikawa/patch-1
Browse files Browse the repository at this point in the history
Docs: Update test-runner.md prepare function typo
  • Loading branch information
jonniebigodes authored Oct 26, 2023
2 parents 20508e7 + 958ad98 commit 1452ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/writing-tests/test-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br/>`async prepare({ page, browserContext, testRunnerConfig }() {}` |
| `prepare` | Prepares the browser for tests<br/>`async prepare({ page, browserContext, testRunnerConfig }) {}` |
| `setup` | Executes once before all the tests run<br/>`setup() {}` |
| `preRender` | Executes before a story is rendered<br/>`async preRender(page, context) {}` |
| `postRender` | Executes after the story is rendered<br/>`async postRender(page, context) {}` |
Expand Down

0 comments on commit 1452ab6

Please sign in to comment.