Should testing libraries being used in frontend like jest, enzyme or react-testing-library be part of dependencies or devDependencies in your package.json?
Since testing is not part of your build compilation I think it should be in devDependencies but your testing suites run mostly in your pipelines while being deployed on server i.e, Jenkins, TravisCI etc. Which makes me wonder since it's being used in production shouldn't these be listed in dependencies section.
Thank you for reading this question.