expectAsync( ...args: |readonly ( |types.Constructor | ((...args:unknown[]|readonlyunknown[])=>unknown) |"to reject with a" |"to reject with an" |"not to reject with a" |"not to reject with an" )[] | ( |types.Constructor | ((...args:unknown[]|readonlyunknown[])=>unknown) |"to reject with a" |"to reject with an" |"not to reject with a" |"not to reject with an" )[], ):Promise<void>
Parameters
...args: |readonly ( |types.Constructor | ((...args:unknown[]|readonlyunknown[])=>unknown) |"to reject with a" |"to reject with an" |"not to reject with a" |"not to reject with an" )[] | ( |types.Constructor | ((...args:unknown[]|readonlyunknown[])=>unknown) |"to reject with a" |"to reject with an" |"not to reject with a" |"not to reject with an" )[]
expectAsync( ...args: |readonly ( |types.Constructor |PromiseLike<unknown> |"to reject with a" |"to reject with an" |"not to reject with a" |"not to reject with an" )[] | ( |types.Constructor |PromiseLike<unknown> |"to reject with a" |"to reject with an" |"not to reject with a" |"not to reject with an" )[], ):Promise<void>
Parameters
...args: |readonly ( |types.Constructor |PromiseLike<unknown> |"to reject with a" |"to reject with an" |"not to reject with a" |"not to reject with an" )[] | ( |types.Constructor |PromiseLike<unknown> |"to reject with a" |"to reject with an" |"not to reject with a" |"not to reject with an" )[]
The main asynchronous assertion function which can execute only built-in assertions.