Optional
parent: anyOptional
options: { only?: string | number | string[] | number[]; verbose?: boolean } = {}Optional
only?: string | number | string[] | number[]Only run a subset of tests If one or more numbers, or a string that begins with a number, it is a path to a test/group If one or more identifiers, it will only run tests with that id, regardless of nesting If mixed, it will follow the numbers as a path, then will not consume any more numbers until it finds the id.
Optional
verbose?: booleanShow all tests, not just failed ones
Static
STATS_Dispatches a synthetic event event to target and returns true if either event’s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Evaluate the result of the test
Evaluate whether the test passed or failed
Evaluate whether a thrown error is as expected
Evaluate whether the test took too long (for tests with time constraints)
Get a summary of console messages intercepted during the test run.
Optional
o: { format?: "rich" | "plain" } = {}Options
Optional
format?: "rich" | "plain"Format to use for output. Defaults to “rich”.
Get a string representation of the test result
Optional
o: anyGet a summary of the current status of the test
Optional
o: { format?: "rich" | "plain" } = {}Options
Optional
format?: "rich" | "plain"Format to use for output. Defaults to “rich”
Run the test(s)
Run all tests in the group
Skip the test
Returns a string representation of an object.
Static
warn
Represents the result of a test or group of tests.