mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #984] [MERGED] [Test] Centralise common mocks #1260
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#1260
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/desktop/pull/984
Author: @webfiltered
Created: 2/23/2025
Status: ✅ Merged
Merged: 2/23/2025
Merged by: @webfiltered
Base:
main← Head:test-centralise-mocks📝 Commits (6)
058c6db[Refactor] Centralise common mocks to setup.tsae54403[Cleanup] Resolve test workaround4ae1e02[Refactor] Remove most one-off electron mocksa9037ac[Test] Refactor AppHandlers tests0e3d5d3[Test] Update cursor rules to include setup.ts behaviour4edb41dnit📊 Changes
15 files changed (+129 additions, -213 deletions)
View changed files
📝
.cursor/rules/vitest.mdc(+1 -0)📝
tests/unit/config/comfyServerConfig.test.ts(+0 -6)📝
tests/unit/desktopApp.test.ts(+0 -23)📝
tests/unit/handlers/AppHandlers.test.ts(+16 -30)📝
tests/unit/handlers/appinfoHandlers.test.ts(+1 -13)📝
tests/unit/handlers/pathHandler.test.ts(+17 -30)📝
tests/unit/install/installWizard.test.ts(+14 -17)📝
tests/unit/install/installationManager.test.ts(+0 -11)📝
tests/unit/main-process/appState.test.ts(+0 -7)📝
tests/unit/main-process/appWindow.test.ts(+14 -14)📝
tests/unit/main-process/comfyDesktopApp.test.ts(+0 -10)📝
tests/unit/main-process/comfyServer.test.ts(+1 -5)📝
tests/unit/services/telemetry.test.ts(+2 -24)📝
tests/unit/setup.ts(+52 -4)📝
tests/unit/store/desktopConfig.test.ts(+11 -19)📄 Description
setup.tsappWindow.test.ts)app.quit┆Issue is synchronized with this Notion page by Unito
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.