<commit_before>var args = {};

before(function(done) {
   this.timeout(40000);

   process.env.ENV = 'test';
   require('../server')(function(MyApp, sq, err) {
      if (err) {
         console.log('Unable to start Tests.');
         done(err);
      }
      else {
         console.log('Starting Tests...');
         args.app = MyApp;
         args.fn = require('./functions')(sq);
         args.data = require('./data.js')();
         args.sq = sq;

         args.models = {
            User : require('../app/models/User').User,
            Meeting : require('../app/models/Meeting').Meeting,
            Task : require('../app/models/Task').Task,
            Committee : require('../app/models/Committee').Committee,
            Identity : require('../app/models/Identity').Identity,
            Comment : require('../app/models/Comment').Comment,
            Media : require('../app/models/Media').Media,
            Honor : require('../app/models/Honor').Honor
         };

         done();
      }
   });
});

args.chai = require('chai');
args.chai.use(require('chai-http'));

describe('User Controller', function() {
   // require('./UserController/index')(args);
   // require('./UserController/store')(args);
   // require('./UserController/show')(args);
   // require('./UserController/update')(args);
   // require('./UserController/updateAuth')(args);
   require('./UserController/upload')(args);
   //require('./UserController/delete')(args);
});

// describe('Meeting Controller', function() {
//    require('./MeetingController/store')(args);
//    require('./MeetingController/show')(args);
//    require('./MeetingController/update')(args);
//    require('./MeetingController/delete')(args);
//    require('./MeetingController/rate')(args);
// });

// describe('Task Controller', function() {
//    require('./TaskController/store')(args);
//    require('./TaskController/show')(args);
//    require('./TaskController/update')(args);
//    require('./TaskController/delete')(args);
// });

// describe('Committee Controller', function() {
//    require('./CommitteeController/index')(args);
//    require('./CommitteeController/store')(args);
//    require('./CommitteeController/show')(args);
//    require('./CommitteeController/update')(args);
//    require('./CommitteeController/delete')(args);
// });<commit_msg>Update test.js<commit_after>var args = {};

before(function(done) {
   this.timeout(40000);

   process.env.ENV = 'test';
   require('../server')(function(MyApp, sq, err) {
      if (err) {
         console.log('Unable to start Tests.');
         done(err);
      }
      else {
         console.log('Starting Tests...');
         args.app = MyApp;
         args.fn = require('./functions')(sq);
         args.data = require('./data.js')();
         args.sq = sq;

         args.models = {
            User : require('../app/models/User').User,
            Meeting : require('../app/models/Meeting').Meeting,
            Task : require('../app/models/Task').Task,
            Committee : require('../app/models/Committee').Committee,
            Identity : require('../app/models/Identity').Identity,
            Comment : require('../app/models/Comment').Comment,
            Media : require('../app/models/Media').Media,
            Honor : require('../app/models/Honor').Honor
         };

         done();
      }
   });
});

args.chai = require('chai');
args.chai.use(require('chai-http'));

describe('User Controller', function() {
   require('./UserController/index')(args);
   require('./UserController/store')(args);
   require('./UserController/show')(args);
   require('./UserController/update')(args);
   require('./UserController/updateAuth')(args);
   require('./UserController/upload')(args);
   require('./UserController/delete')(args);
});

describe('Meeting Controller', function() {
    require('./MeetingController/store')(args);
    require('./MeetingController/show')(args);
    require('./MeetingController/update')(args);
    require('./MeetingController/delete')(args);
    require('./MeetingController/rate')(args);
 });

describe('Task Controller', function() {
   require('./TaskController/store')(args);
   require('./TaskController/show')(args);
   require('./TaskController/update')(args);
   require('./TaskController/delete')(args);
});

describe('Committee Controller', function() {
   require('./CommitteeController/index')(args);
   require('./CommitteeController/store')(args);
   require('./CommitteeController/show')(args);
   require('./CommitteeController/update')(args);
   require('./CommitteeController/delete')(args);
});
{'fraction_non_alphanumeric': 0.21316818774445892, 'fraction_numerical': 0.0021729682746631897, 'mean_word_length': 2.9074702886247876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3654394', 'n_tokens_mistral': 1313, 'n_tokens_neox': 1297, 'n_words': 163}