Skip to content

issue 121

Curious that test were passing but code was wrong. Method returned { count : 6} when it was expected to return just 6

Assertion is: expect(parseInt(eventsCountResponse.text)).to.be.an("number");

it seems that: parseInt({ count : 6}) returns NaN and NaN is actually a number that makes the assertion equal to true.

#121 (closed)

Merge request reports

Loading