config-overrides not being processed in test command
See original GitHub issueI’m doing this to add emotion support:
addBabelPlugin('emotion'),
it works just fine on yarn start
but if I run yarn test
I get the error saying that I’m trying to use the emotion shortcuts without the babel plugin.
Do I need to do something to inject the plugin in the Jest config?
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Overriding the Configuration File from the CLI
Test your command with the --test-settings option before running it live, as explained below. Properties in the Configuration File. The --co option identifies ......
Read more >Running DropwizardAppRule before each test in a class using ...
I'm actually having another issue myself trying with DropwizardAppRule not properly being setup and torn down between tests.
Read more >react-app-rewired - npm
Start using react-app-rewired in your project by running `npm i react-app-rewired`. There are 315 other projects in the npm registry using ...
Read more >Command line reference - SpecSync Documentation
With the --configOverride option any configuration file setting can be overridden even if there is no dedicated command line option for that. Using...
Read more >Command-Line Tool | User Manual - Taurus
Taurus tool is an Open Source test automation framework, providing simple YAML-based configuration format with DSL, executed through command-line and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So, the end of the story is, the “react-app-rewired approach” is to use .babelrc like explained in this issue:
https://github.com/timarney/react-app-rewired/issues/328
I’d say it’s a viable solution, let’s close this.
Hey, @FezVrasta npm test works if you create a .babelrc with mentioned settings but do you know how to get breakpoints working for debugging tests?