Skip to content

chore: ts tests#15751

Draft
florian-lefebvre wants to merge 1 commit intomainfrom
chore/ts-tests-2
Draft

chore: ts tests#15751
florian-lefebvre wants to merge 1 commit intomainfrom
chore/ts-tests-2

Conversation

@florian-lefebvre
Copy link
Member

@florian-lefebvre florian-lefebvre commented Mar 4, 2026

Changes

  • Renames *.test.js to *.test.ts (with a few exceptions). Types errors are not fixed (will be another PR)
  • Renames and migrate test helpers files to TS
  • Adds minimal tsconfigs where needed
  • Many files changed but most of them are straight renames. I had to update paths to test utils from .js to .ts (IDK why Git is freaking out with the diff)
  • minimum node version in the repo is bumped to 22.18 (supports type stripping ootb)

Testing

Updated should pass

Docs

N/A

@github-actions github-actions bot added feat: markdown Related to Markdown (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope) pkg: react Related to React (scope) pkg: integration Related to any renderer integration (scope) pkg: create-astro Related to the `create-astro` package (scope) pkg: astro Related to the core `astro` package (scope) labels Mar 4, 2026
@florian-lefebvre florian-lefebvre changed the title chore: ts tests (#15734) chore: ts tests Mar 4, 2026
@florian-lefebvre florian-lefebvre self-assigned this Mar 4, 2026
@florian-lefebvre florian-lefebvre marked this pull request as ready for review March 4, 2026 10:02
@florian-lefebvre florian-lefebvre marked this pull request as draft March 9, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: markdown Related to Markdown (scope) pkg: astro Related to the core `astro` package (scope) pkg: create-astro Related to the `create-astro` package (scope) pkg: integration Related to any renderer integration (scope) pkg: react Related to React (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant