<commit_before>process.env.NODE_ENV = 'test';

var _ = require('underscore');
var assert = require('chai').expect;
var expect = require('chai').expect;
var mongoose = require('mongoose');
var path = require('path');
var request = require('supertest');

var db = require(path.join(__dirname, '../../db/db'));
var server = require(path.join(__dirname, '../../app/server/server'));
var testUtil = require(path.join(__dirname, '../testUtil'));
// Models
var Group = require(path.join(__dirname, '../../app/server/models/group'));
var User = require(path.join(__dirname, '../../app/server/models/user'));
var Venue = require(path.join(__dirname, '../../app/server/models/venue'));

describe('server controllers', function () {
  var greenwichHotel, greenwichHotelInfo, group, testGroupDestination,
      testGroupDestination2, testGroupName,
      testUser, testUser2;

  before(function (done) {
    greenwichHotelInfo = {
      "id": "1",
      "venue_type_id": 1,
      "name": "Greenwich Hotel",<commit_msg>(fix) Increase serverControllersSpec beforeAll timeout<commit_after>process.env.NODE_ENV = 'test';

var _ = require('underscore');
var assert = require('chai').expect;
var expect = require('chai').expect;
var mongoose = require('mongoose');
var path = require('path');
var request = require('supertest');

var db = require(path.join(__dirname, '../../db/db'));
var server = require(path.join(__dirname, '../../app/server/server'));
var testUtil = require(path.join(__dirname, '../testUtil'));
// Models
var Group = require(path.join(__dirname, '../../app/server/models/group'));
var User = require(path.join(__dirname, '../../app/server/models/user'));
var Venue = require(path.join(__dirname, '../../app/server/models/venue'));

describe('server controllers', function () {
  var greenwichHotel, greenwichHotelInfo, group, testGroupDestination,
      testGroupDestination2, testGroupName,
      testUser, testUser2;

  before(function (done) {
    // TravisCI has been timing out at the default 2000
    this.timeout(5000);

    greenwichHotelInfo = {
      "id": "1",
      "venue_type_id": 1,
      "name": "<NAME>",
{'fraction_non_alphanumeric': 0.1844705882352941, 'fraction_numerical': 0.0075294117647058826, 'mean_word_length': 4.3822784810126585, 'pattern_counts': {'":': 6, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6333301', 'n_tokens_mistral': 641, 'n_tokens_neox': 637, 'n_words': 144}