Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
TurboGears
Zend
Express
Play
CodeIgniter
Vue
Symfony
Ember
Flask
Web2py
 Laravel
 :) Hot Jobs
 
 :) Latest Articles


  

 


_____ returns the value only once when mock function is called.
Question Posted on 18 Feb 2019

Home >> Frameworks >> Jest >> _____ returns the value only once when mock function is called.




______________ returns the value only once when mock function is called.
(1)None of the options
(2)mockReturnOnce(value)
(3)mockReturnValue(value)
(4)mockReturnValueOnce(value)

Answer:-(4)mockReturnValueOnce(value)
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
You can check strings against regular expressions with ______________
The number can be compared using __________.
The below test will pass.
To create a mock function, we use ***jest.fn()***.
Jest supports _____for Isolating functionality into small testable






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |