Newer
Older
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MatIconModule } from '@angular/material';
import { ScrollTopComponent } from './scroll-top.component';
describe('ScrollTopComponent', () => {
let component: ScrollTopComponent;
let fixture: ComponentFixture<ScrollTopComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ScrollTopComponent],
imports: [MatIconModule]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ScrollTopComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});