Skip to content

Instantly share code, notes, and snippets.

@irrationnelle
Created January 21, 2019 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save irrationnelle/4fc0fe23c512a95d59c8d54de8773dca to your computer and use it in GitHub Desktop.
Save irrationnelle/4fc0fe23c512a95d59c8d54de8773dca to your computer and use it in GitHub Desktop.
컴포넌트 테스트
import { async, TestBed, ComponentFixture } from '@angular/core/testing';
import { BrowserCheckComponent } from './browser-check.component';
describe('BrowserCheckComponent', () => {
let component: BrowserCheckComponent;
let fixture: ComponentFixture<BrowserCheckComponent>;
beforeEach(
async(() => {
TestBed.configureTestingModule({
declarations: [BrowserCheckComponent],
}).compileComponents();
})
);
it('should create the app', () => {
fixture = TestBed.createComponent(BrowserCheckComponent);
component = fixture.componentInstance;
expect(component).toBeTruthy();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment