Skip to content

Commit a67d4dd

Browse files
committed
fix: update MarketplaceViewStateManager test to match default isFetching state
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 a67d4dd

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)