Closed ianstormtaylor closed 11 years ago
i think the grammatically correct way to test typeof would be:
typeof
.should.be.of.type('string')
instead of:
.should.have.type('string')
just tripped me up a second ago
slash i thought i could just do this:
.should.be.a('string')
but this isn't the case?
Hey, i agree about .of. We make .a to be an alias for .an in 2.x.x. Now to get type use .type.
.of
.a
.an
2.x.x
.type
i think the grammatically correct way to test
typeof
would be:instead of:
just tripped me up a second ago