Skip to content

Instantly share code, notes, and snippets.

@obsd
Created January 18, 2020 18:57
Show Gist options
  • Save obsd/cfbb9c44b94459e0f1458b7576e6c9f9 to your computer and use it in GitHub Desktop.
Save obsd/cfbb9c44b94459e0f1458b7576e6c9f9 to your computer and use it in GitHub Desktop.
describe('LoginComponent', () => {
let component: LoginComponent;
let fixture: ComponentFixture<LoginComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ LoginComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(LoginComponent);
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