Module: @atomic-testing/dom-core
Classes
Interfaces
Functions
createDomTestEngine
▸ createDomTestEngine<T
>(element
, partDefinitions
, _option?
): TestEngine
<T
>
Create test engine for DOM testing
Type parameters
Name | Type |
---|---|
T | extends ScenePart |
Parameters
Name | Type | Description |
---|---|---|
element | HTMLElement | The element to test, if not sure, use document.body |
partDefinitions | T | The scene part definitions |
_option? | IDomTestEngineOption | The option, reserved for future use |
Returns
TestEngine
<T
>
The test engine