You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn run v1.22.17
$ jest spec/javascript/components/Accordion.test.js
RUNS spec/javascript/components/Accordion.test.js
✘ [ERROR] The JSX syntax extension is not currently enabled
/workspace/spec/javascript/components/Accordion.test.js:11:6:
11 │ <Accordion expanded={false}>
╵ ^
The esbuild loader for this file is currently set to "js" but it must be set to "jsx" to
FAIL spec/javascript/components/Accordion.test.js { '.js': 'jsx' }" to do that. ● Test suite failed to run Transform failed with 1 error: /workspace/spec/javascript/components/Accordion.test.js:11:6: ERROR: The JSX syntax extension is not currently enabled at failureErrorWithLog (node_modules/esbuild/lib/main.js:1603:15) at node_modules/esbuild/lib/main.js:1392:29 at node_modules/esbuild/lib/main.js:666:9 at handleIncomingPacket (node_modules/esbuild/lib/main.js:763:9) at Socket.readFromStdout (node_modules/esbuild/lib/main.js:632:7)Test Suites: 1 failed, 1 totalTests: 0 totalSnapshots: 0 totalTime: 0.228 sRan all test suites matching /spec\/javascript\/components\/Accordion.test.js/i.error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
Problem
It seems like the
loader
I defined in my config is not being passed to Esbuild.esbuild-runner.config.js
Jest config
Error Message
The text was updated successfully, but these errors were encountered: