Permalink
Browse files

Issue #367. Set chai.Assertion.includeStack = true to show assertion …

…failure line numbers.
  • Loading branch information...
btbinhtran committed Dec 22, 2012
1 parent 4ff0b9d commit c3a6f067ee528dcb652f57040bf4d566f1305d41
Showing with 4 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +1 −0 test/server.coffee
View
@@ -13,6 +13,9 @@ tmtags
## VIM
*.swp
+## WebStorm
+.idea/
+
## Ctags
.tags
View
@@ -8,6 +8,7 @@ console.log "Running tests with #{store} store"
Tower.store = Tower['Store' + _.camelize(store)]
global.chai = require 'chai'
+chai.Assertion.includeStack = true
global.assert = chai.assert
assert.isPresent = (value) ->
assert.ok !!value

0 comments on commit c3a6f06

Please sign in to comment.