<commit_before>import { inject, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule, HttpTestingController, RequestMatch } from '@angular/common/http/testing';
import { HTTP_INTERCEPTORS, HttpClient, HttpHeaders } from '@angular/common/http';

import { AdminBasePathHttpInterceptor } from './admin-base-path.http-interceptor';
import { ADMIN_INTERCEPT_HEADER, ADMIN_INTERCEPT_HEADER_VAL } from '@admin-interceptor/admin-http-interceptor-headers';

describe('AdminBasePathHttpInterceptor', () => {

  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [HttpClientTestingModule],
      providers: [{
        provide: HTTP_INTERCEPTORS,
        useClass: AdminBasePathHttpInterceptor,
        multi: true
      }]
    });
  });<commit_msg>Run beforeEach of admin base path http interceptor spec with async<commit_after>import { async, inject, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule, HttpTestingController, RequestMatch } from '@angular/common/http/testing';
import { HTTP_INTERCEPTORS, HttpClient, HttpHeaders } from '@angular/common/http';

import { AdminBasePathHttpInterceptor } from './admin-base-path.http-interceptor';
import { ADMIN_INTERCEPT_HEADER, ADMIN_INTERCEPT_HEADER_VAL } from '@admin-interceptor/admin-http-interceptor-headers';

describe('AdminBasePathHttpInterceptor', () => {

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      imports: [HttpClientTestingModule],
      providers: [
        {
          provide: HTTP_INTERCEPTORS,
          useClass: AdminBasePathHttpInterceptor,
          multi: true
        }
      ]
    });
  }));
{'fraction_non_alphanumeric': 0.11610942249240122, 'fraction_numerical': 0.0, 'mean_word_length': 4.486666666666666, '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': '1795348', 'n_tokens_mistral': 462, 'n_tokens_neox': 453, 'n_words': 87}