javascript
javascript copied to clipboard
Consolidate all the different Jest configs into one
Summary
We have a lot of duplicated Jest configuration in the entire repository. We should consolidate this.
Explanation
When you take a look at the babel monorepo all their dev dependencies are only installed in the root and they have a single configuration for jest, eslint, etc.
Technical decisions
-
setupTests.jsshould be removed everywhere in favor of onesetupTests.jsin the root - The
yarn testcommand in the root should runjestin the root - The
yarn testcommand in every package should be removed. - All the jest configuration in the different package should be removed and moved to the
package.jsonin the root.