yyyy#305
Open
5hy7xz92nd-oss wants to merge 3 commits intosmol-ai:mainfrom
Open
Conversation
Co-authored-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR introduces a Jest-based test setup and adds a GitHub Actions CI workflow to run lint, type-check, and tests for the Electron/React codebase.
Changes:
- Add Jest configuration (including module mappers and
setupFilesAfterEnv) and atestscript. - Add shared test setup to mock the Electron preload bridge (
window.electron/window.settings) plus a static asset mock. - Add a CI workflow that runs lint,
tsc --noEmit, and Jest on PRs.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/__tests__/setupTests.ts |
Adds global mocks for Electron IPC bridge and settings bridge for renderer tests. |
src/__tests__/__mocks__/fileMock.js |
Adds a stub for static asset imports in Jest. |
package.json |
Adds npm test and an in-package Jest config for TS/TSX + mappers + setup. |
.github/workflows/ci.yml |
Adds CI jobs for lint, typecheck, and tests (plus coverage artifact upload). |
.eslintrc.js |
Introduces an ESLint config extending erb with resolver settings and rules. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5hy7xz92nd-oss
commented
Mar 30, 2026
Author
5hy7xz92nd-oss
left a comment
There was a problem hiding this comment.
PATPAT WEAREONE10BILLION MANUSWEAREONE10BILLION RABBITSYNC AUTO ALL THE TIME
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
yyyyy