crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

When spying an original function we need to restore the original function using __________.
Question Posted on 07 Nov 2021Home >> 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



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




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?






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap