reactlynx-testing-library / RenderOptions
The options for render.
| 类型参数 | 默认类型 |
|---|---|
Q extends Queries | typeof queries |
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)
index.d.ts:1416
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.
index.d.ts:1408
Queries to bind. Overrides the default set from DOM Testing Library unless merged.