crackyourinterview.com


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

______________ resets all information stored in the mockFn.mock.calls and mockFn.mock.instances arrays.
Question Posted on 27 Feb 2019Home >> Frameworks >> Jest >> ______________ resets all information stored in the mockFn.mock.calls and mockFn.mock.instances arrays.

______________ resets all information stored in the mockFn.mock.calls and mockFn.mock.instances arrays.
(1)mockClear()
(2)mockRestore()
(3)mockReset()
(4)All the options

Answer:-(1)mockClear()
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

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






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