Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 593954c

Browse files
committed
add link from the root readme file
1 parent fd8242d commit 593954c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ See [Recipes](./docs/recipes.md) for more examples.
126126
- `mount` is the most important function, allows to mount a given React component as a mini web application and interact with it using Cypress commands
127127
- `createMount` factory function that creates new `mount` function with default options
128128
- `unmount` removes previously mounted component, mostly useful to test how the component cleans up after itself
129-
- `mountHook` mounts a given React Hook in a test component for full testing, see `hooks` example
129+
- `mountHook` mounts a given React Hook in a test component for full testing, see the [`hooks` example](cypress/component/advanced/hooks)
130130

131131
## Examples
132132

@@ -191,7 +191,7 @@ Spec | Description
191191
[context](cypress/component/advanced/context) | Confirms components that use React context feature work
192192
[custom-command](cypress/component/advanced/custom-command) | Wraps `mount` in a custom command for convenience
193193
[forward-ref](cypress/component/advanced/forward-ref) | Tests a component that uses a forward ref feature
194-
[hooks](cypress/component/advanced/hooks) | Tests several components that use React Hooks like `useState`, `useCallback`
194+
[hooks](cypress/component/advanced/hooks) | Tests several components that use React Hooks like `useState`, `useCallback` by using `mountHook` function
195195
[lazy-loaded](cypress/component/advanced/lazy-loaded) | Confirms components that use `React.lazy` and dynamic imports work
196196
[material-ui-example](cypress/component/advanced/material-ui-example) | Large components demos from [Material UI](https://material-ui.com/)
197197
[mobx-v6](cypress/component/advanced/mobx-v6) | Test components with MobX v6 observable

0 commit comments

Comments
 (0)