In Jasmine, the ______ function is used to define expectations for a test.

  • beforeEach
  • describe
  • expect
  • it
In Jasmine, the expect function is used to define expectations (assertions) for a test. It is used within an it block to specify what should happen during the test and what should be verified as correct behavior.
Add your answer
Loading...

Leave a comment

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