var requirejs = require('requirejs');
var path = require('path');

require('backbone').$ = require('jquery');

requirejs.config({
  baseUrl: path.join(process.cwd(), 'app')
});

requirejs.config(requirejs('config'));

var requirejs = require('requirejs');
var path = require('path');

require('backbone').$ = require('jquery');

requirejs.config({
  baseUrl: path.join(process.cwd(), 'app')
});

requirejs.config(requirejs('config'));

global._ = require('lodash');
global.isServer = true;
global.config = {};
Add global vars to server-side test helper
Add global vars to server-side test helper

Some global properties are required by modules, so we need to set them to default values in the setup for server-side tests.
