Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
DogFood


When spying an original function we need to restore the original function using __________.
Question Posted on 07 Nov 2021

Home >> Testing >> JS Qualis >> When spying an original function we need to restore the original function using __________.




When spying an original function we need to restore the original function using __________.
Choose the correct option from below list
(1)sinon.spy()
(2)object.method.restore
(3)sinon.spy(obj,'method')
(4)sinon.stub()

Answer:-(2)object.method.restore
0
0



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


Other Important Questions
What is default style of interface of Mocha framework?
Which of the following is a headless browser that runs on running Javascript?
Each unit test should test one concern only.
In Eslint, linting rules can be turned on or off using javascript comments embedding configuration rules.
Which of the following test double is used to record function calls, arguments and exceptions thrown?






 
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 |