<commit_before>
var request = require('request');
var DatabaseAdapter = require('../DatabaseAdapter');

var database = DatabaseAdapter.getDatabaseConnection('test');

describe('a GlobalConfig', () => {
  beforeEach(function(done) {
    database.rawCollection('_GlobalConfig')
      .then(coll => coll.updateOne({ '_id': 1}, { $set: { params: { companies: ['US', 'DK'] } } }, { upsert: true }))
      .then(done());
  });
<commit_msg>Fixed reference after source move<commit_after>
var request = require('request');
var DatabaseAdapter = require('../src/DatabaseAdapter');

var database = DatabaseAdapter.getDatabaseConnection('test');

describe('a GlobalConfig', () => {
  beforeEach(function(done) {
    database.rawCollection('_GlobalConfig')
      .then(coll => coll.updateOne({ '_id': 1}, { $set: { params: { companies: ['US', 'DK'] } } }, { upsert: true }))
      .then(done());
  });

{'fraction_non_alphanumeric': 0.19662921348314608, 'fraction_numerical': 0.0022471910112359553, 'mean_word_length': 4.8618421052631575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5425261', 'n_tokens_mistral': 267, 'n_tokens_neox': 260, 'n_words': 56}