Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit 6e479de

Browse files
committed
Make e2e pass
1 parent e796344 commit 6e479de

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/app/app.component.spec.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
import { RouterTestingModule } from '@angular/router/testing';
3+
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
4+
import { MdToolbarModule, MdSidenavModule, MdIconModule, MdButtonModule, MdListModule } from '@angular/material';
5+
import { AppComponent } from './app.component';
6+
7+
describe('AppComponent', () => {
8+
let component: AppComponent;
9+
let fixture: ComponentFixture<AppComponent>;
10+
11+
beforeEach(async(() => {
12+
TestBed.configureTestingModule({
13+
imports: [RouterTestingModule, BrowserAnimationsModule, MdToolbarModule, MdSidenavModule, MdIconModule, MdButtonModule, MdListModule],
14+
declarations: [AppComponent]
15+
})
16+
.compileComponents();
17+
}));
18+
19+
beforeEach(() => {
20+
fixture = TestBed.createComponent(AppComponent);
21+
component = fixture.componentInstance;
22+
fixture.detectChanges();
23+
});
24+
25+
it('should create', () => {
26+
expect(component).toBeTruthy();
27+
});
28+
});

0 commit comments

Comments
 (0)