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.
This commit is contained in:
Daniel 2025-06-20 15:36:26 -05:00 committed by GitHub
parent 2f30af00b4
commit 9da598c9db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ describe("MarketplaceViewStateManager", () => {
expect(state.allItems).toEqual([])
expect(state.displayItems).toEqual([])
expect(state.isFetching).toBe(false)
expect(state.isFetching).toBe(true)
expect(state.activeTab).toBe("mcp")
expect(state.filters).toEqual({
type: "",