Skip to content

Commit

Permalink
Removing same name assignment (#1653)
Browse files Browse the repository at this point in the history
Minor redundancy
  • Loading branch information
RobinTail authored Mar 30, 2024
1 parent 92511a0 commit 178455e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ export const testEndpoint = async <
{ moduleName: "@jest/globals", moduleExport: "jest" },
])
).fn;
const requestMock = makeRequestMock({ fnMethod: fnMethod, requestProps });
const responseMock = makeResponseMock({ fnMethod: fnMethod, responseProps });
const requestMock = makeRequestMock({ fnMethod, requestProps });
const responseMock = makeResponseMock({ fnMethod, responseProps });
const loggerMock = makeLoggerMock({ fnMethod, loggerProps });
const configMock = {
cors: false,
Expand Down

0 comments on commit 178455e

Please sign in to comment.