Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Node.JS Books
Special Offer
Laptop Lenovo
GATE Exam

Cat Exam
Start a Blog
Develop Your Skill

Develop Your Skill

SQL Books

Develop Your Skill

 :) Latest Topic
leftlink
leftlink
leftlink
leftlink
leftlink
leftlink
leftlink
leftlink
leftlink
leftlink
 leftlink
 :) Topic of Day
 
 :) Hot Jobs
 :)
 :) Most Searchable
 


 :) Quiz System
Computer Quiz
Science Quiz
Banking Quiz
Sports Quiz
GK Quiz


  

 
______________ resets all information stored in the mock, including any inital implementation given. View:-12322
Question Posted on 20 Feb 2019

______________ resets all information stored in the mock, including any inital implementation given.
(1)m....
ADS Posted In : Frameworks | Jest



Jest uses ________ and ________ matchers to test a value is with exact equality. View:-11860
Question Posted on 20 Feb 2019

Jest uses ________ and ________ matchers to test a value is with exact equality.
(1)toBeTruthy, toBeFalsy....
ADS Posted In : Frameworks | Jest


Jest records all calls that have been made during mock function and it is stored in ______________ array. View:-19789
Question Posted on 20 Feb 2019

Jest records all calls that have been made during mock function and it is stored in ______________ array.
ADS Posted In : Frameworks | Jest


Snapshot tests are a useful tool whenever you want to make sure your UI does not change unexpectedly. View:-13905
Question Posted on 20 Feb 2019

Snapshot tests are a useful tool whenever you want to make sure your UI does not change unexpectedly.
(1)....
ADS Posted In : Frameworks | Jest


Jest will wait until the ______________ callback is called before finishing the test. View:-14893
Question Posted on 20 Feb 2019

Jest will wait until the ______________ callback is called before finishing the test.
(1)finish
(2)do....
ADS Posted In : Frameworks | Jest


mockRestore() removes the mock and restores the initial implementation View:-14567
Question Posted on 18 Feb 2019

mockRestore() removes the mock and restores the initial implementation.
(1)False
(2)True

Ans....
ADS Posted In : Frameworks | Jest


The matcher toContain is used _________. View:-15754
Question Posted on 18 Feb 2019

The matcher toContain is used _________.
(1)to check an object is present in a list
(2)To check if a ....
ADS Posted In : Frameworks | Jest


Function's actual implementations can be mocked in test using ________ View:-3
Question Posted on 18 Feb 2019

Function's actual implementations can be mocked in test using ____________.
(1)mockImplementation(fn)
ADS Posted In : Frameworks | Jest


Snapshot Testing is not supported in Jest. View:-11054
Question Posted on 18 Feb 2019

Snapshot Testing is not supported in Jest.
(1)False
(2)True

Answer:-(1)False....
ADS Posted In : Frameworks | Jest


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

______________ returns the value only once when mock function is called.
(1)None of the options
(2)mo....
ADS Posted In : Frameworks | Jest


Code coverage tests that how much code is covered under tests. View:-9086
Question Posted on 18 Feb 2019

Code coverage tests that how much code is covered under tests.
(1)True
(2)False

Answer:-(1)T....
ADS Posted In : Frameworks | Jest


______________ resets all information stored in the mockFn.mock.calls and mockFn.mock.instances arrays. View:-11318
Question Posted on 27 Feb 2019

______________ resets all information stored in the mockFn.mock.calls and mockFn.mock.instances arrays.
(....
ADS Posted In : Frameworks | Jest


When you execute ______________ Code, it will move on to another task before it finishes. View:-11142
Question Posted on 27 Feb 2019

When you execute ______________ Code, it will move on to another task before it finishes.
(1)Synchronous ....
ADS Posted In : Frameworks | Jest


Jest is maintained by ______________ . View:-11908
Question Posted on 17 Feb 2019

Jest is maintained by ______________ .
(1)Google
(2)Facebook
(3)Microsoft
(4)apache

....
ADS Posted In : Frameworks | Jest


Jest is a JavaScript unit testing framework. View:-9647
Question Posted on 17 Feb 2019

Jest is a JavaScript unit testing framework.
(1)True
(2)False

Answer:-(1)True....
ADS Posted In : Frameworks | Jest


Jest works well with other testing libraries like ______________. View:-12934
Question Posted on 17 Feb 2019

Jest works well with other testing libraries like ______________.
(1)Enzyme
(2)Chai
(3)all the op....
ADS Posted In : Frameworks | Jest


Jest is used to test _____________. View:-12834
Question Posted on 17 Feb 2019

Jest is used to test _____________.
(1)Java
(2)Python
(3)JavaScript
(4)Ruby

Answer:-....
ADS Posted In : Frameworks | Jest


______________ matcher matches only undefined. View:-11052
Question Posted on 14 Feb 2019

______________ matcher matches only undefined.
(1)toBeDefined
(2)toBeTruthy
(3)toBeUndefined
....
ADS Posted In : Frameworks | Jest


______________ recursively checks every field of an object or array. View:-13705
Question Posted on 14 Feb 2019

______________ recursively checks every field of an object or array.
(1)toMatch
(2)toBe
(3)toBeEq....
ADS Posted In : Frameworks | Jest


.mock is a property of mock function, the place where all information about how the function has been called is kept. View:-14897
Question Posted on 27 Feb 2019

.mock is a property of mock function, the place where all information about how the function has been called ....
ADS Posted In : Frameworks | Jest


If you expect a promise to be rejected, use the ______________ matcher. If the promise is fulfilled, the test will automatically fail. View:-13595
Question Posted on 27 Feb 2019

If you expect a promise to be rejected, use the ______________ matcher. If the promise is fulfilled, the test....
ADS Posted In : Frameworks | Jest


For Code Coverage Support Jest requires some additional setup and libr View:-13536
Question Posted on 18 Feb 2019

For Code Coverage Support Jest requires some additional setup and libraries .
(1)False
(2)True
<....
ADS Posted In : Frameworks | Jest


How to run your test in terminal? View:-10254
Question Posted on 18 Feb 2019

How to run your test in terminal?
(1)npm test
(2)all the options
(3)npm run test
(4)npm t
ADS Posted In : Frameworks | Jest


How to install Jest using yarn? View:-9681
Question Posted on 18 Feb 2019

How to install Jest using yarn?
(1)yarn install –dev jest
(2)yarn add --dev jest
(3)yarn install ....
ADS Posted In : Frameworks | Jest


mockRestore() works only when mock was created with ______________. View:-12354
Question Posted on 18 Feb 2019

mockRestore() works only when mock was created with ______________.
(1)jest.fn()
(2)jest.spyFn()
....
ADS Posted In : Frameworks | Jest


The Asynchronous code will move on to another task before it finishes. View:-16712
Question Posted on 18 Feb 2019

The Asynchronous code will move on to another task before it finishes.
(1)False
(2)True

Answ....
ADS Posted In : Frameworks | Jest


What is the command to install Jest and the babel-jest? View:-14868
Question Posted on 18 Feb 2019

What is the command to install Jest and the babel-jest?
(1)$ npm install --save-dev jest babel-jest
(....
ADS Posted In : Frameworks | Jest


Jest supports _____for Isolating functionality into small testable View:-18376
Question Posted on 18 Feb 2019

Jest supports ______________ for Isolating functionality into small, testable units under test.
(1)Matche....
ADS Posted In : Frameworks | Jest


To create a mock function, we use ***jest.fn()***. View:-10191
Question Posted on 18 Feb 2019

To create a mock function, we use ***jest.fn()***.
(1)True
(2)False

Answer:-(1)True....
ADS Posted In : Frameworks | Jest


The below test will pass. View:-14839
Question Posted on 18 Feb 2019

The below test will pass.
const value = 0.1 + 0.2;
expect(value).toBe(0.3);
(1)True
(2)False ....
ADS Posted In : Frameworks | Jest


The number can be compared using __________. View:-16336
Question Posted on 18 Feb 2019

The number can be compared using __________.
(1)toBeGreaterThanOrEqual
(2)All the options
(3)toBe....
ADS Posted In : Frameworks | Jest


1 2
 
  
 :) Categoriese
 :) Most Visited Questions