/*global require, window, module */
require.config({
paths: {
"mocha": "../../node_modules/mocha/mocha",
"chai": "../../node_modules/chai/chai"
}
});
(function (module) {
'use strict';
if (typeof window !== 'undefined') {
require.config({
shim: {
'mocha': {
init: function () {
return this.mocha;
}
}
}
});
require([
'require',
'chai',
'mocha'
], function (require, chai, mocha) {
var should = chai.should();
mocha.setup('bdd');
require(['../spec/test'], function () {
mocha.run();
});
});
}
}(typeof module === 'undefined' ? {} : module));/*global module:false */