mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
Add a couple more unit tests
This commit is contained in:
parent
b4c0424ffb
commit
867563b0db
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,7 @@ describe('expect', function () {
|
|||
|
||||
expect(foo).to.exist();
|
||||
expect(foo).to.exist().and.contain('bar');
|
||||
expect(foo).to.exist.and.contain('bar');
|
||||
});
|
||||
|
||||
it('arguments', function(){
|
||||
|
@ -384,6 +385,7 @@ describe('expect', function () {
|
|||
|
||||
expect('').to.be.empty();
|
||||
expect('').to.be.empty().and.exist;
|
||||
expect('').to.be.empty.and.exist;
|
||||
|
||||
err(function(){
|
||||
expect('').not.to.be.empty;
|
||||
|
|
Loading…
Reference in a new issue