Skip to content

Add tests, CI, and Vercel config (rebased on main)#2

Merged
happykhan merged 2 commits into
mainfrom
fix/pr1-rebase
Apr 3, 2026
Merged

Add tests, CI, and Vercel config (rebased on main)#2
happykhan merged 2 commits into
mainfrom
fix/pr1-rebase

Conversation

@happykhan
Copy link
Copy Markdown
Contributor

Summary

  • Cherry-picked tests + CI + Vercel config from Add tests, CI workflow, and Vercel config #1 onto current main
  • Fixed 2 test files broken by the @genomicx/ui migration:
    • AboutPage.test.tsx → imports from ../pages/About, wrapped in MemoryRouter
    • LogConsole.test.tsx → imports from @genomicx/ui, uses logs prop not lines
  • Drops the stale pipeline.ts rewrite from Add tests, CI workflow, and Vercel config #1 (replaced by the Emscripten loader on main)
  • All 34 tests pass

Closes

Supersedes #1 (which has merge conflicts)

🤖 Generated with Claude Code

happykhan and others added 2 commits April 3, 2026 00:09
- Add 35 tests across 9 test files covering all components and core modules
- Add vitest.config.ts with jsdom environment and test setup
- Add GitHub Actions CI workflow (type check, lint, test, build)
- Add vercel.json for Vercel deployment
- Add vite-env.d.ts for CSS module type declarations
- Add .gitignore for node_modules and dist

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
AboutPage.test: import from ../pages/About + wrap in MemoryRouter
LogConsole.test: import from @genomicx/ui, use logs prop not lines prop

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mashx Ready Ready Preview, Comment Apr 3, 2026 0:12am

@happykhan happykhan merged commit 8b2264a into main Apr 3, 2026
2 of 3 checks passed
@happykhan happykhan deleted the fix/pr1-rebase branch April 3, 2026 00:13
happykhan added a commit that referenced this pull request Apr 3, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant