diff --git a/should/should-tests.ts b/should/should-tests.ts index c390aa323..e88c6f144 100644 --- a/should/should-tests.ts +++ b/should/should-tests.ts @@ -41,7 +41,7 @@ should.not.exist({}); user.should.have.property('pets').with.lengthOf(4); user.pets.should.have.lengthOf(4); -user.should.be.a('object').and.have.property('name', 'tj'); +user.should.be.of.type('object').and.have.property('name', 'tj'); 'foo'.should.equal('bar'); @@ -89,8 +89,8 @@ args.should.be.arguments; user.age.should.be.within(5, 50); -user.should.be.a('object'); -'test'.should.be.a('string'); +user.should.be.of.type('object'); +'test'.should.be.of.type('string'); user.should.be.an.instanceof(User); ['a'].should.be.an.instanceOf(Array);