Skip to content

Commit 9a9ab4c

Browse files
committed
Make throwsAsync arg async
1 parent d8866c2 commit 9a9ab4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/testing-utils.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ class CallableEnvBuilder<
427427
): Promise<ThrownError<ErrorType>> {
428428
// Run the main assertion.
429429
const error = await t.throwsAsync(
430-
() => Promise.resolve(this.call()),
430+
async () => Promise.resolve(this.call()),
431431
expectations,
432432
);
433433

0 commit comments

Comments
 (0)