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:-17654
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:-17238
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:-25372
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:-19050
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:-20406
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:-20304
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:-20869
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:-49
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:-16757
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:-18541
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:-14599
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:-16916
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:-16194
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:-16849
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:-15493
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:-17970
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:-17819
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:-16069
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:-19074
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:-20136
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:-18639
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:-19165
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:-13191
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:-12440
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:-17797
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:-22465
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:-17490
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:-23279
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:-15686
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:-20853
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:-22273
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