Question · JavaScript and React course · Module 13: Testing React

Purpose of application testing

What is the main purpose of testing a React application?

Answer options

  • Increasing the size of the application's output file
  • Speeding up TypeScript code compilation time
  • Detecting bugs before deployment to production and ensuring correct behavior
  • Automatically generating component documentation

You can check the correct answer by solving this task in the CodeWorlds game.