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
Hello there and thank you in advance for any help provided. We have a CRA project that uses emotion and in order to use the CSS prop what we have been doing till now was to add /** @jsxImportSource @emotion/react */ on top of every file.
The issue is that when we try to run tests in the components that use this pragma we get the following error: importSource cannot be set when runtime is classic.
Hello there and thank you in advance for any help provided. We have a CRA project that uses emotion and in order to use the CSS prop what we have been doing till now was to add
/** @jsxImportSource @emotion/react */
on top of every file.The issue is that when we try to run tests in the components that use this pragma we get the following error:
importSource cannot be set when runtime is classic.
Here is the
babel.config.js
file:And here is the
package.json
important modules:And also here is what I get when I run my tests with
--showConfig
:The text was updated successfully, but these errors were encountered: