Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Add network error retry support to auto-retry with exponential backoff#1128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Copilot wants to merge11 commits intomain
base:main
Choose a base branch
Loading
fromcopilot/fix-1023
Draft
Changes from1 commit
Commits
Show all changes
11 commits
Select commitHold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
chore: run prettier
  • Loading branch information
@manisha1997
manisha1997 committedSep 16, 2025
commitef6022a506cce026cd7b903888eca24aca373994
16 changes: 8 additions & 8 deletionsspec/unit/base/RequestClient.spec.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -492,16 +492,16 @@ describe("Network error retry", function () {
it("should identify retryable errors correctly", function () {
// Test isRetryableError function indirectly by checking error handling
const retryableErrors = [
{ code:'ECONNRESET' },
{ code:'ETIMEDOUT' },
{ code:'ECONNABORTED' }
{ code:"ECONNRESET" },
{ code:"ETIMEDOUT" },
{ code:"ECONNABORTED" },
];

const nonRetryableErrors = [
{ code:'ENOTFOUND' },
{ code:'ECONNREFUSED' },
{ message:'Some other error' },
null
{ code:"ENOTFOUND" },
{ code:"ECONNREFUSED" },
{ message:"Some other error" },
null,
];

// This is an indirect test - we'll test the actual retry behavior in integration tests
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp