Created
January 21, 2019 12:20
-
-
Save irrationnelle/4fc0fe23c512a95d59c8d54de8773dca to your computer and use it in GitHub Desktop.
컴포넌트 테스트
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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