Interacting with a component under test
This section covers the various ways to interact with a component under test, e.g. trigger event handlers. This — and more — is covered in the following sub sections:
- Triggering event handlers in components: This covers how to invoke event handlers bound to elements rendered by a component under test.
- Triggering a render life cycle on a component: This covers how to manually trigger a render cycle for a component under test.
- Awaiting an asynchronous state change in a component under test: This covers how to await one or more asynchronous changes to the state of a component under test before continuing the test.
- Disposing components and their children: This covers how to dispose components and their children.