Skip to content

Add Jest tests and Storybook coverage - #69

Merged
code-by-sia merged 2 commits into
mainfrom
codex/jest-tests-storybook
Aug 18, 2026
Merged

Add Jest tests and Storybook coverage#69
code-by-sia merged 2 commits into
mainfrom
codex/jest-tests-storybook

Conversation

@code-by-sia

Copy link
Copy Markdown
Owner

Summary

  • Replaces the Vitest test runner wiring with Jest, ts-jest, jsdom, and Jest DOM setup.
  • Adds focused RTL coverage for shared UI primitives, formula bar editing/abort behavior, and ribbon control command emission.
  • Adds Storybook stories for Field, FormulaBar, representative ribbon control groups, and an additional ribbon menu state.
  • Adds titles to font style icon buttons so they are accessible and directly testable.
  • Rebuilds the GitHub Pages docs bundle.

Validation

  • npm test
  • npm run typecheck
  • npm run build
  • npm run build-storybook

Note: npm run build still reports the existing direct eval warning in src/lib/core/formula/Evaluator.ts; it does not block the build. Storybook build also reports the existing large chunk warning for Storybook output.

@code-by-sia
code-by-sia force-pushed the codex/jest-tests-storybook branch from 479ca10 to 50438b6 Compare June 22, 2026 15:42
@code-by-sia
code-by-sia force-pushed the codex/jest-tests-storybook branch from 50438b6 to ab579cd Compare August 18, 2026 18:12
@code-by-sia
code-by-sia merged commit 7865502 into main Aug 18, 2026
1 check passed
@code-by-sia
code-by-sia deleted the codex/jest-tests-storybook branch August 18, 2026 18:13
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