Answers

Question and Answer:

  Home  JSUnit

⟩ Tell me list of JSUnit Testing assertions that we can use?

Some of the JSUnit Testing assertions are:

ass: (assert) checks if a value is convertible into a logical true value

equ: (equals) compare two values using the == operator

ide: (identity) compare two values using the === operator

neq: (inequals) compare two values using the != operator

gre: (greater) compare two values using the > operator

lss: (less) compare two values using the < operator

geq: (greater or equal) compare two values using the >= operator

leq: (less or equal) compare two values using the <= operator

 207 views

More Questions for you: