GitHub
Jupyter
Preparing search index...
The search index is not available
@jupyterlab
@jupyterlab
@jupyterlab/testing
expectFailure
Function expectFailure
expectFailure
(
promise
:
Promise
<
any
>
,
message
?:
string
)
:
Promise
<
void
>
Expect a failure on a promise with the given message.
Parameters
promise
:
Promise
<
any
>
Optional
message
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
Jupyter
@jupyterlab
Loading...
Expect a failure on a promise with the given message.