Skip to content

chore: install jest and run the tests in CI - #736

Merged
Maelstromeous merged 1 commit into
mainfrom
chore/enable-jest
Sep 29, 2026
Merged

Maelstromeous merged 1 commit into
mainfrom
chore/enable-jest

Conversation

@Maelstromeous

Copy link
Copy Markdown
Member

Manual steps

No manual steps or intervention required.

What this does

The repo had a jest config in package.json and a test script, but jest itself was never installed, so no test could run. This adds jest, ts-jest and @types/jest 29 (the line that supports TypeScript 4.9), a Tests workflow that runs yarn test on every pull request and on main, and a first spec covering the pagination rules so the job has something real to run.

#734 builds on this and adds specs for the aggregate write handling.

Validation done

yarn test: 5 specs pass. tsc --noEmit and ESLint clean.

🤖 Generated with Claude Code

The repo carried a jest config and a test script but no jest, so nothing
could run. Adds jest, ts-jest and @types/jest 29 (matching TypeScript
4.9), a Tests workflow on pull requests and main, and a first spec for
the pagination rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Maelstromeous
Maelstromeous merged commit b605ee0 into main Sep 29, 2026
5 checks passed
@Maelstromeous
Maelstromeous deleted the chore/enable-jest branch September 29, 2026 03:59
Maelstromeous added a commit that referenced this pull request Sep 29, 2026
Takes main's lockfile, which now carries the same jest dependencies (#736).

Co-Authored-By: Claude Opus 5.5 <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