In Jasmine, which of the following Boolean matcher is used to determine if the result is true or false?

15. In Jasmine, which of the following Boolean matcher is used to determine if the result is true or false?

  1. toBeTruthy()
  2. toTruthy():
  3. CheckTruthy():

Answer: A) toBeTruthy()

Explanation:

toBeTruthy() Boolean matcher is used to determine if the result is true or false.


Comments and Discussions!









Copyright © 2023 www.includehelp.com. All rights reserved.