Get the value of the passed test, or undefined if the test failed.
Get the failure message callback of the failed test, or undefined if the test passed.
Get the value of the passed test, or throw an error if the test failed.
The side data that will be passed to run.
Check if the test has failed. If true, it will contain a failure message.
Check if the test has passed. If true, it will contain a value.
For passed tests, map the passed value to another value. Failed tests will remain unchanged.
This will not mutate the test result, and instead return a new test result.
For passed tests, asynchronously map the passed value to another value. Failed tests will remain unchanged.
This will not mutate the test result, and instead return a new test result.
A passed test result. This should not be constructed manually. Instead,
testPass
should be used.