From 9d302aa435131170e5e7fb291b718aed17c81db4 Mon Sep 17 00:00:00 2001 From: Jake Luer Date: Fri, 6 Apr 2012 21:17:43 -0400 Subject: [PATCH] disabled stackTrack configuration tests until api is stable again --- lib/assertion.js | 1 - test/configuration.js | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/assertion.js b/lib/assertion.js index e6b928d..de4d6c3 100644 --- a/lib/assertion.js +++ b/lib/assertion.js @@ -75,7 +75,6 @@ function Assertion (obj, msg, stack) { /*! * ## Assertion.includeStack - * , toString = Object.prototype.toString * * User configurable property, influences whether stack trace * is included in Assertion error message. Default of false diff --git a/test/configuration.js b/test/configuration.js index f58f9d9..688c853 100644 --- a/test/configuration.js +++ b/test/configuration.js @@ -9,6 +9,9 @@ function fooThrows () { } suite('configuration', function () { +/* + Skipping these while error / stack traces in flux + test('Assertion.includeStack is true, stack trace available', function () { chai.Assertion.includeStack = true; @@ -31,5 +34,5 @@ suite('configuration', function () { assert.ok(!err.stack || err.stack.indexOf('at fooThrows') === -1, 'should not have stack trace in error message'); } }); - +*/ });