Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Have strict / non-strict alternatives

#56

Many of the matchers could do with strict / non-strict versions similar to eql and equal resulting in assertions like below:


response = { ran : '1' }
response.should.have_prop 'ran', true
// => true

response = { ran : '1' }
response.should.have_property 'ran', true
// => false

Reported by TJ Holowaychuk · April 7th, 2009 @ 08:33 PM

State: resolved
Milestone: none
Assigned to: TJ Holowaychuk TJ Holowaychuk

Activity

  1. TJ Holowaychuk
  2. TJ Holowaychuk
    TJ Holowaychuk
    • State changed from new to resolved

    April 9th, 2009 @ 03:50 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.