diff --git a/packages/expect/src/utils.ts b/packages/expect/src/utils.ts index 9d5c44be9173..7ff4966985ff 100644 --- a/packages/expect/src/utils.ts +++ b/packages/expect/src/utils.ts @@ -56,9 +56,9 @@ export function recordAsyncExpect( }) return { - then(onFullfilled, onRejected) { + then(onFulfilled, onRejected) { resolved = true - return promise.then(onFullfilled, onRejected) + return promise.then(onFulfilled, onRejected) }, catch(onRejected) { return promise.catch(onRejected)