chore: rename .test.js -> .test.jsx when JSX is used by marvinhagemeister · Pull Request #5058 · preactjs/preact (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@marvinhagemeister

Future vite versions won't accept JSX inside .js files anymore (as they should).

@marvinhagemeister marvinhagemeister changed the titlechore: rename *.js -> *.jsx when JSX is used chore: rename .test.js -> .test.jsx when JSX is used

Mar 21, 2026

@marvinhagemeister

Future vite versions won't accept JSX inside js files anymore (as they should!)

JoviDeCroock

rschristian

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought I had done this ages ago, weird

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

[ Show hidden characters]({{ revealButtonHref }})