chai/test/display/errors.js
Jake Luer 850509a73a first version of line displayed error for node js (unstable)
must have `chai.Assertion.includeStack = true`
2012-04-06 21:15:54 -04:00

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);
});
});