26 lines
635 B
TypeScript
26 lines
635 B
TypeScript
import { async, ComponentFixture, TestBed } from "@angular/core/testing";
|
|
|
|
import { ArticleComponent } from "./article.component";
|
|
|
|
describe("ArticleComponent", () => {
|
|
let component: ArticleComponent;
|
|
let fixture: ComponentFixture<ArticleComponent>;
|
|
|
|
beforeEach(async(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [ ArticleComponent ]
|
|
})
|
|
.compileComponents();
|
|
}));
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(ArticleComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it("should create", () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|