Internal _localReadonly annotateAdd a test annotation that will be displayed by your reporter.
Optional type: stringOptional attachment: TestAttachmentOptional attachment: TestAttachmentReadonly expectexpect instance bound to the current test.
This API is useful for running snapshot tests concurrently because global expect cannot track them.
Readonly onRegister a callback to run when this specific test fails. Useful when tests run concurrently.
Optional timeout: numberReadonly onRegister a callback to run when this specific test finishes. Useful when tests run concurrently.
Optional timeout: numberReadonly signalAn AbortSignal that will be aborted if the test times out or
the test run was cancelled.
Readonly skipMark tests as skipped. All execution after this call will be skipped. This function throws an error, so make sure you are not catching it accidentally.
Optional note: stringOptional note: stringReadonly taskMetadata of the current test
Extended test context with custom properties