docs: remove unused imports from unit tests (#42441)

PR Close #42441
This commit is contained in:
Sam Severance 2021-06-01 20:28:57 -04:00 committed by Andrew Kushnir
parent c1a9f07ea1
commit c0b2eeb54c
5 changed files with 2 additions and 6 deletions

View File

@ -1,7 +1,5 @@
// #docplaster
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { BannerComponent } from './banner-external.component';

View File

@ -1,6 +1,5 @@
// #docplaster
// #docregion
import { async } from '@angular/core/testing';
// #docregion import-ComponentFixtureAutoDetect
import { ComponentFixtureAutoDetect } from '@angular/core/testing';
// #enddocregion import-ComponentFixtureAutoDetect

View File

@ -1,7 +1,6 @@
// #docplaster
// #docregion
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DebugElement } from '@angular/core';
import { BannerComponent } from './banner.component';

View File

@ -4,7 +4,7 @@ import { DashboardComponent } from './dashboard.component';
import { Hero } from '../model/hero';
import { addMatchers } from '../../testing';
import { TestHeroService, HeroService } from '../model/testing/test-hero.service';
import { TestHeroService } from '../model/testing/test-hero.service';
class FakeRouter {
navigateByUrl(url: string) { return url; }

View File

@ -1,5 +1,5 @@
// #docplaster
import { ComponentFixture, inject, TestBed, waitForAsync } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { addMatchers, asyncData, click } from '../../testing';
import { HeroService } from '../model/hero.service';