<commit_before>/* global describe, it, expect, beforeAll */
/* eslint prefer-arrow-callback:0, func-names:0, global-require:0, import/no-extraneous-dependencies:0 */

import axios from 'axios';
import install from 'jasmine-es6';

install();


const DB_URI = 'mongodb://localhost:27017/hotaru_test';
const PORT = 3030;

describe('MongoAdapter', function () {
  const express = require('express');
  const HotaruServer = require('../lib/HotaruServer').default;
  const MongoAdapter = require('../lib/MongoAdapter').default;

  beforeAll(async function () {
    const app = express();

    const dbAdapter = new MongoAdapter({
      uri: DB_URI,<commit_msg>Fix spec name in HotaruServer.spec.js<commit_after>/* global describe, it, expect, beforeAll */
/* eslint prefer-arrow-callback:0, func-names:0, global-require:0, import/no-extraneous-dependencies:0 */

import axios from 'axios';
import install from 'jasmine-es6';

install();


const DB_URI = 'mongodb://localhost:27017/hotaru_test';
const PORT = 3030;

describe('HotaruServer', function () {
  const express = require('express');
  const HotaruServer = require('../lib/HotaruServer').default;
  const MongoAdapter = require('../lib/MongoAdapter').default;

  beforeAll(async function () {
    const app = express();

    const dbAdapter = new MongoAdapter({
      uri: DB_URI,
{'fraction_non_alphanumeric': 0.14714714714714713, 'fraction_numerical': 0.021021021021021023, 'mean_word_length': 4.624472573839663, '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': '1650516', 'n_tokens_mistral': 433, 'n_tokens_neox': 404, 'n_words': 99}