-
Notifications
You must be signed in to change notification settings - Fork 124
feat: Fetcher updates #1090
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Assem-Uber
merged 15 commits into
cadence-workflow:master
from
Assem-Uber:feature/16026/fetcher-updates
Nov 21, 2025
Merged
feat: Fetcher updates #1090
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
cc38cb1
fetcher updates
Assem-Uber 2a41fc6
add placeholder for fetcher
Assem-Uber 1f54d95
update fetcher mock
Assem-Uber 3398d8a
fetcher start update
Assem-Uber fb1f87c
update todo
Assem-Uber 650a918
Apply suggestion from @Copilot
Assem-Uber a9e9469
fix copilot comments
Assem-Uber 8dcf01c
remove extra comment
Assem-Uber 573c195
lint fix
Assem-Uber 7306663
change lastFlattented initial value to -1
Assem-Uber e0a327a
Merge branch 'master' into feature/16026/fetcher-updates
Assem-Uber 73e9bd8
move lastFlattenedPagesCount to a ref and remove shouldContinue condi…
Assem-Uber f8e080d
fix typo and add mock for configs
Assem-Uber d9da99f
update page size test case
Assem-Uber 04ed13a
Merge branch 'master' into feature/16026/fetcher-updates
Assem-Uber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update page size test case
- Loading branch information
commit d9da99f53712f1ef6b255c903c69043d4819232d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to assert behavior of
setupandmockEndpointsrather than the "unit under test".Is this intended?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which part exactly is testing the setup method?
What the test does here is capturing what request msw received and make sure that the first request had a query param of 200. The query for rest APIs are sent from the fetcher but received and captured by the setup method.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounds like your intent is to introspect the inner workings of the fetcher?
To suggest an alternative approach:
pageSize.debugInfowhich provides detailed insights.I suggest this because the purpose of
CapturedPageSizeswasn't immediately clear.