Skip to content

Convert Pair checkpoint tests to TypeScript - #542

Merged
gandazgul merged 1 commit into
mainfrom
codex/ts-pair-checkpoint-tests
Nov 4, 2026
Merged

gandazgul merged 1 commit into
mainfrom
codex/ts-pair-checkpoint-tests

Conversation

@gandazgul

Copy link
Copy Markdown
Collaborator

Convert src/tools/__tests__/pair-checkpoint.test.js to TypeScript and update the isolated Bun test inventory.

The 13 existing cases retain their fixtures, product calls, and assertions. Named fixture contracts reuse the owning tool, request-dispatch, SDK session, and text-content types. Localized assertions accommodate the existing partial native session/context fixtures and text-only test results; no runtime behavior changes.

Validation:

  • All 13 Pair checkpoint tests pass through the isolated runner.
  • All 11 pre-test CI tasks pass, including root/Workspace/docs type checks, lint, build, and architectural checks.
  • Emitted JavaScript AST matches the original exactly.
  • Independent Standards, Spec, and Tests reviews are clear.

@gandazgul gandazgul added auto:js-to-ts Automated JavaScript to TypeScript conversion auto:review Ready for auto code review labels Nov 4, 2026
@gandazgul
gandazgul merged commit f5df9f1 into main Nov 4, 2026
10 checks passed
@gandazgul
gandazgul deleted the codex/ts-pair-checkpoint-tests branch November 4, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto:js-to-ts Automated JavaScript to TypeScript conversion auto:review Ready for auto code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant