28 lines
847 B
TypeScript
28 lines
847 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
import { ToolbarComponent } from './toolbar.component';
|
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
import { MatMenuModule } from '@angular/material/menu';
|
|
|
|
describe('ToolbarComponent', () => {
|
|
let component: ToolbarComponent;
|
|
let fixture: ComponentFixture<ToolbarComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
declarations: [ToolbarComponent],
|
|
imports: [MatToolbarModule, MatIconModule, MatMenuModule]
|
|
})
|
|
.compileComponents();
|
|
|
|
fixture = TestBed.createComponent(ToolbarComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|