<commit_before>import {
  it,
  inject,
  async,
  beforeEachProviders,
  TestComponentBuilder
} from 'angular2/testing';

// Load the implementations that should be tested
import {App} from './app.component';

describe('App', () => {
  // provide our implementations or mocks to the dependency injector
  beforeEachProviders(() => [
    App
  ]);

  it('should have a url', inject([App], (app) => {
    expect(app.url).toEqual('https://github.com/kucharzyk');
  }));

});<commit_msg>fixed all tests<commit_after>import {
  it,
  inject,
  async,
  beforeEachProviders,
  TestComponentBuilder
} from 'angular2/testing';

// Load the implementations that should be tested
import {App} from './app.component';
import {AuthService} from './services/auth.service';
import {BaseRequestOptions, Http} from 'angular2/http';
import {MockBackend} from 'angular2/src/http/backends/mock_backend';
import {provide} from 'angular2/core';

describe('App', () => {
  // provide our implementations or mocks to the dependency injector
  beforeEachProviders(() => [
    App,
    BaseRequestOptions,
    MockBackend,
    provide(Http, {
      useFactory: function (backend, defaultOptions) {
        return new Http(backend, defaultOptions);
      },
      deps: [MockBackend, BaseRequestOptions]
    }),
    AuthService,
  ]);

  it('should have a url', inject([App], (app) => {
    expect(app.url).toEqual('https://github.com/kucharzyk');
  }));

});
{'fraction_non_alphanumeric': 0.14644351464435146, 'fraction_numerical': 0.003486750348675035, 'mean_word_length': 3.9653979238754324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '5655473', 'n_tokens_mistral': 437, 'n_tokens_neox': 432, 'n_words': 110}