<commit_before>import '../../src/bootstrap';
import sio from 'socket.io';
import Promise from 'bluebird';
import {default as EncounterRegistry, OzoraUserEncounterInterface} from '../../src/localheim';
import IceServerProvider from '../../src/ice_server_provider';
import {default as Ozora, SioChannel, SimpleReceiver} from '../../src/ozora';
import http from 'http';
import io from 'socket.io-client';
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import createDebug from 'debug';

let debug = createDebug('dhm:test:localheim');

chai.use(chaiAsPromised);
let expect = chai.expect;
chai.should();


describe('Localheim Integration', () => {

	let server;
	let url;

	beforeEach(() => {
		let iceServerProvider = new IceServerProvider();
		let registry = new EncounterRegistry({iceServerProvider});
<commit_msg>Fixed failing unit test<commit_after>import '../../src/bootstrap';
import sio from 'socket.io';
import Promise from 'bluebird';
import {default as EncounterRegistry, OzoraUserEncounterInterface} from '../../src/localheim';
import IceServerProvider from '../../src/ice_server_provider';
import {default as Ozora, SioChannel, SimpleReceiver} from '../../src/ozora';
import http from 'http';
import io from 'socket.io-client';
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import createDebug from 'debug';
import log from '../../src/log';

let debug = createDebug('dhm:test:localheim');

chai.use(chaiAsPromised);
let expect = chai.expect;
chai.should();


describe('Localheim Integration', () => {

	let server;
	let url;

	beforeEach(() => {
		let iceServerProvider = new IceServerProvider();
		let registry = new EncounterRegistry({iceServerProvider, log});

{'fraction_non_alphanumeric': 0.14825581395348839, 'fraction_numerical': 0.0, 'mean_word_length': 5.2355072463768115, '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': '1768544', 'n_tokens_mistral': 515, 'n_tokens_neox': 509, 'n_words': 152}