Skip to main content

Variable: createDomTestEngine

const createDomTestEngine: <T>(element, partDefinitions) => TestEngine<T> = createTestEngine

Defined in: packages/dom-core/src/createTestEngine.ts:27

Create test engine for DOM testing

Type Parameters​

T​

T extends ScenePart

Parameters​

element​

HTMLElement

The element to test, if not sure, use document.body

partDefinitions​

T

The scene part definitions

Returns​

TestEngine<T>

The test engine

Deprecated​

Use createTestEngine. Kept as an alias for backward compatibility; every adapter now exports createTestEngine.