mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
Update test-runner.md prepare function typo
One parenthesis was unnecessary.
This commit is contained in:
parent
2a0cd913b4
commit
deb14a6d49
@ -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) {}` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user