Skip to content

Commit bcf4e4b

Browse files
committed
test(middleware-endpoint-discovery): fix error reason
1 parent 9f8a5b4 commit bcf4e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/middleware-endpoint-discovery/src/updateDiscoveredEndpointInCache.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe(updateDiscoveredEndpointInCache.name, () => {
117117
`The operation to discover endpoint failed.` +
118118
` Please retry, or provide a custom endpoint and disable endpoint discovery to proceed.`
119119
),
120-
{ reason: error }
120+
{ reason: new Error("rejected") }
121121
)
122122
);
123123
}

0 commit comments

Comments
 (0)