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.js
should be removed everywhere in favor of onesetupTests.js
in the root - The
yarn test
command in the root should runjest
in the root - The
yarn test
command in every package should be removed. - All the jest configuration in the different package should be removed and moved to the
package.json
in the root.