<commit_before>var should = require('should'),
    nano = require('nano'),
    mockCouch = require('mock-couch'),
    Settings = require('../../lib/settings');

describe('Settings', function() {
    var couchdb = null,
        settings = null;

    beforeEach(function(done) {
        // On some environments (like RaspberryPi 1) running mock-couch can
        // took a long time. Give some more time to setup test environment.
        this.timeout(3000);

        couchdb = mockCouch.createServer();
        couchdb.addDB('settings', []);
<commit_msg>Rise timeouts for hooks in settings test<commit_after>var should = require('should'),
    nano = require('nano'),
    mockCouch = require('mock-couch'),
    Settings = require('../../lib/settings');

describe('Settings', function() {
    var couchdb = null,
        settings = null;

    beforeEach(function(done) {
        // On some environments (like RaspberryPi 1) running mock-couch can
        // took a long time. Give some more time to setup test environment.
        this.timeout(4000);

        couchdb = mockCouch.createServer();
        couchdb.addDB('settings', []);

{'fraction_non_alphanumeric': 0.13592233009708737, 'fraction_numerical': 0.0088261253309797, 'mean_word_length': 2.8703071672354947, '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': '3674128', 'n_tokens_mistral': 327, 'n_tokens_neox': 314, 'n_words': 90}