When using Jasmine for unit testing in Angular, what function is used to create a group of related tests?

  • afterEach()
  • beforeAll()
  • describe()
  • it()
In Jasmine, the describe() function is used to create a group of related tests, which helps organize and structure your test suite.
Add your answer
Loading...

Leave a comment

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