According to should.js Spec this should work:
should.strictEqual(shape.code, code)
but I get:
TypeError: Object #<Object> has no method 'strictEqual'
What am I missing?
According to should.js Spec this should work:
should.strictEqual(shape.code, code)
but I get:
TypeError: Object #<Object> has no method 'strictEqual'
What am I missing?
Looks like an error in the documentation.
equal
is defined in the script as "strict equal":...and
strictEqual
does not appear in the script.