Add tests, CI workflow, and Vercel config#1
Open
happykhan wants to merge 3 commits into
Open
Conversation
- 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>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The biowasm.com CDN (Aioli + mash/2.3) fails to load with importScripts error. Replace with self-hosted Emscripten WASM files following the mashtreewebx approach: - Bundle mash.js and mash.wasm in public/wasm/ - Load mash.js via script tag instead of Aioli CDN - Rewrite pipeline to use Emscripten Module pattern directly - Create fresh WASM instances per command (sketch + dist) to avoid corrupted Emscripten global state Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Test coverage
Unit tests (4 files, 16 tests)
types.test.ts— DEFAULT_OPTIONS validationdatabases.test.ts— DATABASES config shape, constants, unique IDsmeta.test.ts— TSV parsing, alternative column names, fetch failures, edge casesexport.test.ts— CSV generation, headers, quote escapingComponent tests (5 files, 19 tests)
AboutPage.test.tsx— headings, privacy note, databases section, author infoFileUpload.test.tsx— upload prompt, file list, accessibilityLogConsole.test.tsx— empty state, log lines, entry count, copy buttonOptionsPanel.test.tsx— option fields, values, onChange callbackResultsTable.test.tsx— row rendering, organism/TaxID columns, filtering, sorting, distance badges, CSV export buttonTest plan
npm run check)🤖 Generated with Claude Code