Closed tiagoalvesdulce closed 2 years ago
I'm not sure if I'm doing the correct setup, but when I run the politeiagui-scripts test command on packages/core path, I get the following error
Yeah, you have to run a fresh yarn install inside politeiagui-scripts
.
In order to avoid that, I think it would be nice if you added some examples for that command on politeiagui-scripts readme. What do you think?
I don't think we need that since it's just a package that moved from the plugins/apps to the politeiagui-scripts
package
@tiagoalvesdulce after a fresh install, it works as expected. Thanks!
This PR adds babel configuration for jest test env to
politeiagui-scripts
. This way,babel.config
andjest.config
are no longer needed on plugins. If the plugin has ababel.config
orjest.config
the default configs will be ignored and the plugin file will be the one used bypoliteiagui-scripts
.