Skip to content

Commit 52e912e

Browse files
committed
Fix nock mock to match PUT method in test
1 parent 17cf755 commit 52e912e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/http-client-retry.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ describe('HTTP Client - Retry Functionality', () => {
374374

375375
it('should handle PATCH request', async () => {
376376
nock(BASE_URL)
377-
.patch('/test/123', { data: 'patched' })
377+
.put('/test/123', { data: 'patched' })
378378
.reply(200, { id: 123 })
379379

380380
const response = await createRequestWithJsonAndRetry(

0 commit comments

Comments
 (0)