2013-09-05 16:36:49 -04:00
|
|
|
require("mocha-as-promised")();
|
2013-03-19 20:28:03 -04:00
|
|
|
|
2013-09-05 16:36:49 -04:00
|
|
|
global.sinon = require("sinon");
|
2013-05-04 02:57:12 -04:00
|
|
|
|
2013-09-05 16:36:49 -04:00
|
|
|
var chai = global.chai = require("chai");
|
|
|
|
chai.use(require("chai-as-promised"));
|
|
|
|
chai.use(require("sinon-chai"));
|
|
|
|
chai.should();
|
2013-06-09 13:50:43 -04:00
|
|
|
|
2013-09-05 16:36:49 -04:00
|
|
|
global._ = require('underscore');
|
|
|
|
global.when = require('when');
|
|
|
|
global.expect = chai.expect;
|
|
|
|
global.AssertionError = chai.AssertionError;
|
|
|
|
global.Assertion = chai.Assertion;
|
|
|
|
global.assert = chai.assert;
|
2013-03-19 20:28:03 -04:00
|
|
|
|
2013-09-05 16:36:49 -04:00
|
|
|
require('./unit/builder')();
|