Optional
aggregateAggregates tags on the specific tests up to the title. Choose to aggregate test tags, with or without ancestor. Or aggregate only selected tags by passing an array of tags.
{ aggregateTagsToFileHeading: ["@remarks"] }
{ aggregateTagsToFileHeading: "onlyAncestors" }
false
Optional
ansiOverrides specific colors in the error output. The key is the ANSI color you want to override and the value should be a HEX color.
{ ansiCustomColorMap: { 0: '#001', 1: '#B00' }
Optional
buildDisplays build link close to heading
Optional
expandExpands the error details element if there is an error on the assertion
false
Optional
hideHides the tags from ancestors (describe blocks) on individual test result
false
Optional
hideHide the breadcrumbs from ancestors on invidual test result
false
false: `describe > describe > test`
true: `test`
Optional
htmlSets the <title>
in the head of the generated HTML file
Test results
Optional
includeRender console.log output in the report
true
Optional
removeRemoves the @
symbol on on the tag name in the generated output.
false
true:
`@beta` -> `beta`
false:
`@beta` -> `@beta`
Optional
showShows or hides the tag name for block tags
true
true:
`@remarks: tag content`
false:
`tag content`
Optional
showShow text next to the summary for skipped, todo, failing and passing tests. Screen reader text will still read text with number even if hiding text.
true:
`Todo: 2`
false:
`2`
true
Optional
statusMaps a specific status to a supplied icon, overrides default.
{ statusToIconMap: { passed: '🎉' } }
Optional
style?: stringCustom CSS styling to pass in, will be placed below any existing styling in the script tag in the header
{ style: ":root { --tag-background-color: #FFF; }" }
Optional
tagCustom formatter for converting text of tag before rendering. Add icon property if you want to display an icon instead of the text when rendering. When icon is set, text will be screen reader only.
current tag being formatted
tag text being formatted, this is the actual text in case when block tag has several tags
Optional
titleCustom formatting of test file path
filepath of file
Generated using TypeDoc
Options for when rendering the output for
html