mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #679] [MERGED] [Test] Add ComfyServerConfig unit tests #1015
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#1015
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/679
Author: @christian-byrne
Created: 1/21/2025
Status: ✅ Merged
Merged: 1/21/2025
Merged by: @huchenlei
Base:
main← Head:unit-test/server-config📝 Commits (4)
2d62e6fAdd unit tests for comfy server config3d2d64arefactor7bd439arefactor96845b1fix yaml lint📊 Changes
7 files changed (+210 additions, -42 deletions)
View changed files
➕
tests/assets/extra_models_paths/legacy-format.yaml(+5 -0)➕
tests/assets/extra_models_paths/malformed.yaml(+4 -0)➕
tests/assets/extra_models_paths/missing-base-path.yaml(+3 -0)➕
tests/assets/extra_models_paths/multiple-sections.yaml(+12 -0)➕
tests/assets/extra_models_paths/valid-config.yaml(+8 -0)➕
tests/assets/extra_models_paths/wrong-type.yaml(+2 -0)📝
tests/unit/comfyServerConfig.test.ts(+176 -42)📄 Description
Extends unit tests on
ComfyServerConfigto include methods:generateConfigFileContentgetBaseModelPathFromRepoPathgetBaseConfigreadConfigFile┆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.