mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
850509a73a
must have `chai.Assertion.includeStack = true`
14 lines
223 B
JavaScript
14 lines
223 B
JavaScript
if (!chai)
|
|
var chai = require('../..');
|
|
|
|
var expect = chai.expect;
|
|
|
|
chai.Assertion.includeStack = true;
|
|
|
|
suite('error display', function () {
|
|
|
|
test('show error line', function () {
|
|
expect(4).to.equal(2);
|
|
});
|
|
|
|
});
|