12345678910111213141516171819202122232425262728293031323334353637383940 |
- import { LayoutModule } from '@angular/cdk/layout';
- import { waitForAsync, ComponentFixture, TestBed } 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 { BaseNavMenuComponent } from './base-nav-menu.component';
-
- describe('BaseNavMenuComponent', () => {
- let component: BaseNavMenuComponent;
- let fixture: ComponentFixture<BaseNavMenuComponent>;
-
- beforeEach(waitForAsync(() => {
- TestBed.configureTestingModule({
- declarations: [BaseNavMenuComponent],
- imports: [
- NoopAnimationsModule,
- LayoutModule,
- MatButtonModule,
- MatIconModule,
- MatListModule,
- MatSidenavModule,
- MatToolbarModule,
- ]
- }).compileComponents();
- }));
-
- beforeEach(() => {
- fixture = TestBed.createComponent(BaseNavMenuComponent);
- component = fixture.componentInstance;
- fixture.detectChanges();
- });
-
- it('should compile', () => {
- expect(component).toBeTruthy();
- });
- });
|