reactlynx-testing-library / LynxTestingEnv
Class: LynxTestingEnv
A pure-JavaScript implementation of the Lynx Spec, notably the Element PAPI and Dual-threaded Model for use with Node.js.
Example
Constructors
new LynxTestingEnv()
Parameters
Returns
Defined in
index.d.ts:971
Properties
backgroundThread
The global object for the background thread.
Example
Defined in
index.d.ts:950
env
Defined in
index.d.ts:970
mainThread
The global object for the main thread.
Example
Defined in
index.d.ts:969
Methods
clearGlobal()
Returns
void
Defined in
index.d.ts:975
injectGlobals()
Returns
void
Defined in
index.d.ts:972
reset()
Returns
void
Defined in
index.d.ts:976
switchToBackgroundThread()
Returns
void
Defined in
index.d.ts:973
switchToMainThread()
Returns
void
Defined in
index.d.ts:974