Skip to content

Commit 9da598c

Browse files
authored
fix: update MarketplaceViewStateManager test to match default isFetching state (#4954)
The test was expecting isFetching to be false in the default state, but the implementation correctly initializes it as true to show a loading state on initial load. Updated the test expectation to match the actual behavior.
1 parent 2f30af0 commit 9da598c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/marketplace/__tests__/MarketplaceViewStateManager.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe("MarketplaceViewStateManager", () => {
5858

5959
expect(state.allItems).toEqual([])
6060
expect(state.displayItems).toEqual([])
61-
expect(state.isFetching).toBe(false)
61+
expect(state.isFetching).toBe(true)
6262
expect(state.activeTab).toBe("mcp")
6363
expect(state.filters).toEqual({
6464
type: "",

0 commit comments

Comments
 (0)