A promise to ignore for now (will be caught later)
Attach a custom error message if a promise fails. If the promise succeeds, this function does nothing.
The promise to wait for.
Custom message to attach to the error;
Mark a code section as expected to fail. If the async function throws an error, the error will be included in reports, but not counted as a test failure. If the async function succeeds, a warning will be printed.
The pentf configuration.
Error message to show when the section fails (recommended: ticket URL)
The asynchronous section which is part of the test.
Options (currently not visible in output due to typedoc bug)
Raise an error if a promise does not finish within a certain timeframe. Note this does not cancel the promise itself (because that's impossible).
The pentf configuration.
The promise to limit
Options (currently not visible in output due to typedoc bug)
Whatever the promise returned, if it is successful
Generated using TypeDoc
Avoid
UnhandledPromiseRejectionWarning
if a promise fails before weawait
it.