If a package is required for running the tests, it should ideally be listed under ________.

  • devDependencies
  • dependencies
  • peerDependencies
  • optionalDependencies
If a package is required for running the tests, it should ideally be listed under devDependencies. This ensures that the testing dependencies are only installed during development and testing phases, keeping the production environment clean from unnecessary packages.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *