mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 22:09:55 +00:00
Addresses review feedback from #8266: - Use vi.stubGlobal for global fetch mock - Extract mockSuccessResponse and mockErrorResponse helpers to reduce duplication - Add test verifying 500 responses preserve existing config (only 401/403 clear config) Related: #8266 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8356-test-improve-refreshRemoteConfig-test-quality-2f66d73d365081f7b207c2fd2b8a8179) by [Unito](https://www.unito.io)