[PR #59] [MERGED] Add automated unit tests. #583

Closed
opened 2026-10-31 22:15:03 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/desktop/pull/59
Author: @robinjhuang
Created: 9/25/2024
Status: ✅ Merged
Merged: 9/25/2024
Merged by: @robinjhuang

Base: main ← Head: rh-tests


📝 Commits (10+)

📊 Changes

13 files changed (+2892 additions, -888 deletions)

View changed files

📝 .github/workflows/ci.yaml (+4 -1)
➕ .github/workflows/update_snapshots.yml (+42 -0)
📝 .gitignore (+3 -0)
📝 forge.env.d.ts (+2 -2)
➕ jest.config.js (+16 -0)
📝 package.json (+6 -0)
➕ playwright.config.ts (+5 -0)
➕ src/__tests__/e2e/startup.test.ts (+20 -0)
➕ src/__tests__/e2e/startup.test.ts-snapshots/startup-darwin.png (+0 -0)
➕ src/__tests__/unit/main.test.ts (+94 -0)
📝 src/main.ts (+2 -1)
📝 tsconfig.json (+1 -1)
📝 yarn.lock (+2697 -883)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/desktop/pull/59 **Author:** [@robinjhuang](https://github.com/robinjhuang) **Created:** 9/25/2024 **Status:** ✅ Merged **Merged:** 9/25/2024 **Merged by:** [@robinjhuang](https://github.com/robinjhuang) **Base:** `main` ← **Head:** `rh-tests` --- ### 📝 Commits (10+) - [`18e8589`](https://github.com/Comfy-Org/desktop/commit/18e8589c9c6512d13c059209544f1b0d0d1bfa74) Add tests. - [`163ba33`](https://github.com/Comfy-Org/desktop/commit/163ba3308b72261c4bb586551142762119566ece) Add jest test. - [`8375388`](https://github.com/Comfy-Org/desktop/commit/83753887547b047dd040019d93d56ccebd9ac60f) Remove sanity check test. - [`56df496`](https://github.com/Comfy-Org/desktop/commit/56df4967e7e6abbf74d1c6e178c4667f93b56f5f) Run unit tests. - [`2b100f6`](https://github.com/Comfy-Org/desktop/commit/2b100f6854f8b5bb07d02ba62b5b418f1f8517d9) Update yarn.lock - [`b39417a`](https://github.com/Comfy-Org/desktop/commit/b39417a8e3c1cf8e4827a56f5f36cc6d8fd002ca) Change workflow name. - [`45d25be`](https://github.com/Comfy-Org/desktop/commit/45d25beb0e067ebbfdcf42869aaf9c8d3a83cf86) Fix order. - [`9f33087`](https://github.com/Comfy-Org/desktop/commit/9f330876786f0b1eb97e78c3afd7593e3ba3c72e) Update snapshots tests. - [`37698c2`](https://github.com/Comfy-Org/desktop/commit/37698c25dd05f9aabf15bbc19dfa13255b28a4db) Correct test. - [`7c5da94`](https://github.com/Comfy-Org/desktop/commit/7c5da942d5ce5c8cfb770fabbf32cb0b9415af64) Update tests. ### 📊 Changes **13 files changed** (+2892 additions, -888 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yaml` (+4 -1) ➕ `.github/workflows/update_snapshots.yml` (+42 -0) 📝 `.gitignore` (+3 -0) 📝 `forge.env.d.ts` (+2 -2) ➕ `jest.config.js` (+16 -0) 📝 `package.json` (+6 -0) ➕ `playwright.config.ts` (+5 -0) ➕ `src/__tests__/e2e/startup.test.ts` (+20 -0) ➕ `src/__tests__/e2e/startup.test.ts-snapshots/startup-darwin.png` (+0 -0) ➕ `src/__tests__/unit/main.test.ts` (+94 -0) 📝 `src/main.ts` (+2 -1) 📝 `tsconfig.json` (+1 -1) 📝 `yarn.lock` (+2697 -883) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 22:15:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#583
No description provided.