Skip to content

Commit

Permalink
merge conflict resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jan 22, 2024
1 parent 15ff170 commit d7f0708
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion property_tests/arbitraries/http/request_arb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function HttpRequestArb(): fc.Arbitrary<
value: {
agentArgumentValue: httpRequest,
agentResponseValue: httpRequest,
candidTypeObject: HttpRequest
runtimeCandidTypeObject: HttpRequest
},
src: {
candidTypeAnnotation: 'HttpRequest',
Expand Down
4 changes: 3 additions & 1 deletion property_tests/arbitraries/http/response_arb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ export function HttpResponseArb<T extends CorrespondingJSType = any>(
value: {
agentArgumentValue: response,
agentResponseValue: agentResponseValue,
candidTypeObject: HttpResponse(token.value.candidTypeObject)
runtimeCandidTypeObject: HttpResponse(
token.value.runtimeCandidTypeObject
)
},
src: {
candidTypeAnnotation: `HttpResponse<${token.src.candidTypeAnnotation}>`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export function generateBody(
namedParams: Named<CandidValueAndMeta<HttpRequest>>[],
returnType: CandidValueAndMeta<CandidReturnType>
): string {
const { name: requestParamName, el: requestValueObject } = namedParams[0];
const { name: requestParamName, value: requestValueObject } =
namedParams[0];
const request = requestValueObject.value.agentArgumentValue;

const httpMethodCheck = generateHttpMethodCheck(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function generateTests(
HttpResponseAgentResponseValue
>
): Test[][] {
const request = params[0].el.value.agentArgumentValue;
const request = params[0].value.value.agentArgumentValue;
const expectedResponse = returnType.value.agentResponseValue;

return [
Expand Down

0 comments on commit d7f0708

Please sign in to comment.