In Jasmine, what function is used to group together related test cases?

  • afterEach()
  • beforeAll()
  • describe()
  • it()
In Jasmine, the describe() function is used to group related test cases together. It provides a way to organize and structure your test suite by grouping individual test specs within a larger block. This helps in better test organization and readability.
Add your answer
Loading...

Leave a comment

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