Skip to content

Commit a77fe06

Browse files
authored
chore: remove commented code
1 parent 0e5365b commit a77fe06

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

packages/idempotency/tests/unit/IdempotencyHandler.test.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -109,22 +109,6 @@ describe('Class IdempotencyHandler', () => {
109109
expect(mockResponseHook).not.toHaveBeenCalled();
110110
});
111111

112-
/* it('when response hook is provided, it should should call responseHook during an idempotent request', () => {
113-
// Prepare
114-
const stubRecord = new IdempotencyRecord({
115-
idempotencyKey: 'idempotencyKey',
116-
responseData: { responseData: 'responseData' },
117-
payloadHash: 'payloadHash',
118-
status: IdempotencyRecordStatus.COMPLETED,
119-
});
120-
121-
// Act
122-
idempotentHandler.determineResultFromIdempotencyRecord(stubRecord);
123-
124-
// Assess
125-
expect(mockResponseHook).toHaveBeenCalled();
126-
}); */
127-
128112
it('calls the provided response hook', () => {
129113
// Prepare
130114
interface HandlerResponse {

0 commit comments

Comments
 (0)