mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -966,7 +966,7 @@ JSC_DEFINE_HOST_FUNCTION(jsMockFunctionCall, (JSGlobalObject * lexicalGlobalObje
|
||||
}
|
||||
case JSMockImplementation::Kind::RejectedValue: {
|
||||
JSValue rejectedPromise = JSC::JSPromise::rejectedPromise(globalObject, impl->underlyingValue.get());
|
||||
RETURN_IF_EXCEPTION(scope, { });
|
||||
RETURN_IF_EXCEPTION(scope, {});
|
||||
setReturnValue(createMockResult(vm, globalObject, "return"_s, rejectedPromise));
|
||||
return JSValue::encode(rejectedPromise);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user