generator-node-boilerplate
Version:
Web application generator for Yeoman
14 lines (11 loc) • 374 B
text/coffeescript
chai = require 'chai'
sinon = require 'sinon'
# Ensure we are running under the test
# environment so that the express sever
# can properly configure itself.
process.env.NODE_ENV = 'test'
chai.config.includeStack = true
global.sinon = sinon
global.should = chai.should()
global.AssertionError = chai.AssertionError
global.Assertion = chai.Assertion