<commit_before>import { TestBed, getTestBed } from '@angular/core/testing';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { SpecMathService } from '../shared/services/specmath.service';

describe('SpecMathService', () => {
  let httpMockObject: HttpClientTestingModule;
  let service: SpecMathService;

  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [HttpClientTestingModule],
      providers: [SpecMathService],
    });
    httpMockObject = TestBed.get(HttpClientTestingModule);
    service = TestBed.get(SpecMathService);
  });

  it('should be instantiated', () => {
    expect(service).toBeTruthy();
  });
});<commit_msg>making sure that http testing modules are being used properly<commit_after>import { TestBed, getTestBed } from '@angular/core/testing';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { SpecMathService } from '../shared/services/specmath.service';

describe('SpecMathService', () => {
  let httpMockObject: HttpTestingController;
  let service: SpecMathService;

  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [HttpClientTestingModule],
      providers: [SpecMathService],
    });
    httpMockObject = TestBed.get(HttpTestingController);
    service = TestBed.get(SpecMathService);
  });

  it('should be instantiated', () => {
    expect(service).toBeTruthy();
  });

  afterEach(() => {
    // Verifies that there are no pending requests at the end of each test
    httpMockObject.verify();
  });
});
{'fraction_non_alphanumeric': 0.13530522341095028, 'fraction_numerical': 0.0, 'mean_word_length': 4.740072202166065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '2633812', 'n_tokens_mistral': 452, 'n_tokens_neox': 436, 'n_words': 94}