parent
c1a9f07ea1
commit
c0b2eeb54c
|
@ -1,7 +1,5 @@
|
||||||
// #docplaster
|
// #docplaster
|
||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { By } from '@angular/platform-browser';
|
|
||||||
import { DebugElement } from '@angular/core';
|
|
||||||
|
|
||||||
import { BannerComponent } from './banner-external.component';
|
import { BannerComponent } from './banner-external.component';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
// #docplaster
|
// #docplaster
|
||||||
// #docregion
|
// #docregion
|
||||||
import { async } from '@angular/core/testing';
|
|
||||||
// #docregion import-ComponentFixtureAutoDetect
|
// #docregion import-ComponentFixtureAutoDetect
|
||||||
import { ComponentFixtureAutoDetect } from '@angular/core/testing';
|
import { ComponentFixtureAutoDetect } from '@angular/core/testing';
|
||||||
// #enddocregion import-ComponentFixtureAutoDetect
|
// #enddocregion import-ComponentFixtureAutoDetect
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// #docplaster
|
// #docplaster
|
||||||
// #docregion
|
// #docregion
|
||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { DebugElement } from '@angular/core';
|
|
||||||
|
|
||||||
import { BannerComponent } from './banner.component';
|
import { BannerComponent } from './banner.component';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { DashboardComponent } from './dashboard.component';
|
||||||
import { Hero } from '../model/hero';
|
import { Hero } from '../model/hero';
|
||||||
|
|
||||||
import { addMatchers } from '../../testing';
|
import { addMatchers } from '../../testing';
|
||||||
import { TestHeroService, HeroService } from '../model/testing/test-hero.service';
|
import { TestHeroService } from '../model/testing/test-hero.service';
|
||||||
|
|
||||||
class FakeRouter {
|
class FakeRouter {
|
||||||
navigateByUrl(url: string) { return url; }
|
navigateByUrl(url: string) { return url; }
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// #docplaster
|
// #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 { addMatchers, asyncData, click } from '../../testing';
|
||||||
import { HeroService } from '../model/hero.service';
|
import { HeroService } from '../model/hero.service';
|
||||||
|
|
Loading…
Reference in New Issue