mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #540] [MERGED] Add vitest & cross-platform test support #921
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#921
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/540
Author: @webfiltered
Created: 12/19/2024
Status: ✅ Merged
Merged: 12/23/2024
Merged by: @huchenlei
Base:
main← Head:vitest📝 Commits (8)
a2f8f9fReplace jest with vitest - packagesf0ed816Add vitest config6ccb21fAdd vitest run scriptc79dc83Convert tests: vitest + cross-platformf215c52Use temp dir for test temp files70161d9Use vitest workspace to explicitly define tests1acbffdnit - Doc [skip ci]7dcbfedMerge branch 'main' into vitest📊 Changes
12 files changed (+544 additions, -1837 deletions)
View changed files
➖
jest.config.cjs(+0 -18)📝
package.json(+3 -5)📝
tests/unit/comfyConfigManager.test.ts(+38 -31)📝
tests/unit/comfyServer.test.ts(+1 -0)📝
tests/unit/comfyServerConfig.test.ts(+31 -13)📝
tests/unit/handlers/appinfoHandlers.test.ts(+4 -3)📝
tests/unit/handlers/pathHandler.test.ts(+4 -3)📝
tests/unit/main.test.ts(+37 -37)📝
vite.main.config.ts(+5 -0)📝
vite.preload.config.ts(+6 -0)➕
vitest.workspace.ts(+10 -0)📝
yarn.lock(+405 -1727)📄 Description
jestwithvitest┆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.