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


  

 
Christmas Cushion Covers CreamKids


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

Home >> Frameworks >> Jest >> If you expect a promise to be rejected, use the ______________ matcher. If the promise is fulfilled, the test will automatically fail.




If you expect a promise to be rejected, use the ______________ matcher. If the promise is fulfilled, the test will automatically fail.
(1).then
(2).rejects
(3)all the options
(4).resolves

Answer:-(2).rejects
0
0



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


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






 
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 |