Guest User

Untitled

a guest
Dec 28th, 2018
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fdescribe('TesterComponent', () => {
  2.   let component: TesterComponent;
  3.   let fixture: ComponentFixture<TesterComponent>;
  4.  
  5.   beforeEach(async(() => {
  6.     TestBed.configureTestingModule({
  7.       declarations: [TesterComponent],
  8.       imports: [AppMaterialModule, NoopAnimationsModule]
  9.     }).compileComponents();
  10.   }));
  11.  
  12.   beforeEach(() => {
  13.     fixture = TestBed.createComponent(TesterComponent);
  14.     component = fixture.componentInstance;
  15.     fixture.detectChanges();
  16.   });
  17.  
  18.   it('should create', () => {
  19.     expect(component).toBeTruthy();
  20.   });
  21. });
Advertisement
Add Comment
Please, Sign In to add comment