toast.component.spec.ts raw

   1  import { ComponentFixture, TestBed } from '@angular/core/testing';
   2  
   3  import { ToastComponent } from './toast.component';
   4  
   5  describe('ToastComponent', () => {
   6    let component: ToastComponent;
   7    let fixture: ComponentFixture<ToastComponent>;
   8  
   9    beforeEach(async () => {
  10      await TestBed.configureTestingModule({
  11        imports: [ToastComponent]
  12      })
  13      .compileComponents();
  14  
  15      fixture = TestBed.createComponent(ToastComponent);
  16      component = fixture.componentInstance;
  17      fixture.detectChanges();
  18    });
  19  
  20    it('should create', () => {
  21      expect(component).toBeTruthy();
  22    });
  23  });
  24