39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
|
|
import {NoopAnimationsModule} from '@angular/platform-browser/animations';
|
|
import {MatButtonModule} from '@angular/material/button';
|
|
import {MatIconModule} from '@angular/material/icon';
|
|
import {MatListModule} from '@angular/material/list';
|
|
import {MatSidenavModule} from '@angular/material/sidenav';
|
|
import {MatToolbarModule} from '@angular/material/toolbar';
|
|
|
|
import {NavigationComponent} from './navigation.component';
|
|
|
|
describe('NavigationComponent', () => {
|
|
let component: NavigationComponent;
|
|
let fixture: ComponentFixture<NavigationComponent>;
|
|
|
|
beforeEach(waitForAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [NavigationComponent],
|
|
imports: [
|
|
NoopAnimationsModule,
|
|
MatButtonModule,
|
|
MatIconModule,
|
|
MatListModule,
|
|
MatSidenavModule,
|
|
MatToolbarModule,
|
|
]
|
|
}).compileComponents();
|
|
}));
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(NavigationComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should compile', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|