reactlynx-testing-library / RenderOptions
Interface: RenderOptions<Q>
The options for render.
Type Parameters
Properties
enableBackgroundThread?
Render your component in the background thread or not.
Note that all user code in the top level will be executed in the background thread by default. (eg. __BACKGROUND__ is true in the top level)
Default Value
Defined in
index.d.ts:1416
enableMainThread?
Render your component in the main thread or not.
It is recommended to use this option only when you need to test the IFR behavior.
Default Value
Defined in
index.d.ts:1408
queries?
Queries to bind. Overrides the default set from DOM Testing Library unless merged.
Example
Defined in
index.d.ts:1367
wrapper?
Pass a React Component as the wrapper option to have it rendered around the inner element. This is most useful for creating reusable custom render functions for common data providers. See setup for examples.
Example
Defined in
index.d.ts:1400