<commit_before>import { TestBed } from '@angular/core/testing';
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { Observable } from 'rxjs/Observable';
import { ReplaySubject } from 'rxjs/ReplaySubject';
import 'rxjs/add/observable/empty';
import 'rxjs/add/operator/delay';

import { HalRemote } from './halremote';
import { HalLink } from '../doc/hallink';

describe('HalRemote', () => {

  let mockHttp: HttpTestingController;
  let httpClient: HttpClient;
 
  let remote: HalRemote, link: any, token: ReplaySubject<string>, fakeAuth: any;
  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [
        HttpClientTestingModule
      ]
    });
    mockHttp = TestBed.get(HttpTestingController);
    httpClient = TestBed.get(HttpClient);
<commit_msg>unused import<commit_after>import { TestBed } from '@angular/core/testing';
import { HttpClient } from '@angular/common/http';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { Observable } from 'rxjs/Observable';
import { ReplaySubject } from 'rxjs/ReplaySubject';
import 'rxjs/add/observable/empty';
import 'rxjs/add/operator/delay';

import { HalRemote } from './halremote';

describe('HalRemote', () => {

  let mockHttp: HttpTestingController;
  let httpClient: HttpClient;
 
  let remote: HalRemote, link: any, token: ReplaySubject<string>, fakeAuth: any;
  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [
        HttpClientTestingModule
      ]
    });
    mockHttp = TestBed.get(HttpTestingController);
    httpClient = TestBed.get(HttpClient);

{'fraction_non_alphanumeric': 0.1310144927536232, 'fraction_numerical': 0.0, 'mean_word_length': 4.73421926910299, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '2891865', 'n_tokens_mistral': 511, 'n_tokens_neox': 497, 'n_words': 112}