33 lines
951 B
TypeScript
33 lines
951 B
TypeScript
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
import { MatTreeModule } from '@angular/material/tree';
|
|
|
|
import { MainMenuTreeComponent } from './main-menu-tree.component';
|
|
|
|
describe('MainMenuTreeComponent', () => {
|
|
let component: MainMenuTreeComponent;
|
|
let fixture: ComponentFixture<MainMenuTreeComponent>;
|
|
|
|
beforeEach(waitForAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [ MainMenuTreeComponent ],
|
|
imports: [
|
|
MatButtonModule,
|
|
MatIconModule,
|
|
MatTreeModule,
|
|
]
|
|
}).compileComponents();
|
|
}));
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(MainMenuTreeComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should compile', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|