Package: @effect/vitest Module: utils
@effect/vitest
utils
Asserts that thunk throws an error.
thunk
Signature
declare const throwsAsync: (thunk: () => Promise<void>, error?: Error | ((u: unknown) => undefined), ..._: Array<never>) => Promise<void>
Source
Since v0.21.0