Skip to content

Commit

Permalink
chore: remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamorosi authored Sep 26, 2024
1 parent 0e5365b commit a77fe06
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions packages/idempotency/tests/unit/IdempotencyHandler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,22 +109,6 @@ describe('Class IdempotencyHandler', () => {
expect(mockResponseHook).not.toHaveBeenCalled();
});

/* it('when response hook is provided, it should should call responseHook during an idempotent request', () => {
// Prepare
const stubRecord = new IdempotencyRecord({
idempotencyKey: 'idempotencyKey',
responseData: { responseData: 'responseData' },
payloadHash: 'payloadHash',
status: IdempotencyRecordStatus.COMPLETED,
});
// Act
idempotentHandler.determineResultFromIdempotencyRecord(stubRecord);
// Assess
expect(mockResponseHook).toHaveBeenCalled();
}); */

it('calls the provided response hook', () => {
// Prepare
interface HandlerResponse {
Expand Down

0 comments on commit a77fe06

Please sign in to comment.