javascript icon indicating copy to clipboard operation
javascript copied to clipboard

Consolidate all the different Jest configs into one

Open atimmer opened this issue 5 years ago • 0 comments

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 one setupTests.js in the root
  • The yarn test command in the root should run jest 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.

atimmer avatar Mar 26 '19 15:03 atimmer