mercredi 2 décembre 2020

How to enable support for jsx in Visual Studio Code's Jest Runner extension

I am using React and need to test my components. When I try to use the VS Code Jest Runner extension on anything containing jsx, I get this error:

Support for the experimental syntax 'jsx' isn't currently enabled (7:34)

Is there a way to enable support for this?

Aucun commentaire:

Enregistrer un commentaire