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

Viewed 115

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?

0 Answers
Related