Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Qarun-Qadir-Bissoondial/b1bb504a8f7cf79d16ec5d7efe655a00 to your computer and use it in GitHub Desktop.
Save Qarun-Qadir-Bissoondial/b1bb504a8f7cf79d16ec5d7efe655a00 to your computer and use it in GitHub Desktop.
Auto-generated component test code
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { InventoryComponent } from './inventory.component';
fdescribe('InventoryComponent', () => {
let component: InventoryComponent;
let fixture: ComponentFixture<InventoryComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ InventoryComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(InventoryComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment