mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
test: [display] array test for mocha object diff
This commit is contained in:
parent
bc71605462
commit
4582d700b0
1 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,8 @@ var deepObj2 = {
|
|||
]
|
||||
};
|
||||
|
||||
chai.Assertion.includeStack = true;
|
||||
|
||||
suite('object display', function () {
|
||||
|
||||
test('property', function () {
|
||||
|
@ -29,4 +31,8 @@ suite('object display', function () {
|
|||
deepObj.should.deep.equal(deepObj2);
|
||||
});
|
||||
|
||||
test('deep equal array', function () {
|
||||
[ 'one', 'two', 'three' ].should.deep.equal([ 'one', 'two', 'three', 'four' ]);
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue