<commit_before>'use strict';

var should = require('should'),
    request = require('request'),
    expect = require('chai').expect,
    config = require('./../../../config/config');

var CorrectStatus, wrongStatus;

describe('Basic routes:', function() {
    before(function(done) {
        done();
    });

    describe('Request to authenticated route should return 403', function() {
        it('should give Status 403', function(done) {
            request.get(config.baseUrl + '/api/users', function (err, res, body){
                expect(res.statusCode).to.equal(403);
                done();
            });
        });
    });

    after(function(done) {
        done();<commit_msg>Small adjustement to entry route.<commit_after>'use strict';

var should = require('should'),
    request = require('request'),
    expect = require('chai').expect,
    config = require('./../../../config/config');

var CorrectStatus, wrongStatus;

describe('Basic routes:', function() {
    before(function(done) {
        done();
    });

    describe('Test app entry route', function() {
        it('should give Status 200', function(done) {
            request.get(config.baseUrl + '/', function (err, res, body){
                expect(res.statusCode).to.equal(200);
                done();
            });
        });
    });

    after(function(done) {
        done();
{'fraction_non_alphanumeric': 0.17264081931236283, 'fraction_numerical': 0.010972933430870519, 'mean_word_length': 2.4029850746268657, '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': '6593971', 'n_tokens_mistral': 389, 'n_tokens_neox': 362, 'n_words': 83}