mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Update tests to match breaking changes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user