HTML

HTML

new HTML(runner, optionsopt)

Source:

Constructs a new HTML reporter instance.

Parameters:
Name Type Attributes Description
runner Runner

Instance triggers reporter actions.

options Object <optional>

runner options

Extends

Methods

addCodeToggle(el, contents)

Source:

Adds code toggle functionality for the provided test's list element.

Parameters:
Name Type Description
el HTMLLIElement
contents string

suiteURL(suiteopt)

Source:

Provide suite URL.

Parameters:
Name Type Attributes Description
suite Object <optional>

testURL(testopt)

Source:

Provide test URL.

Parameters:
Name Type Attributes Description
test Object <optional>