blob: f0aa97a142930869acd25fa14dcc189c56ad4ea9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { WidgetsComponent } from './widgets.component';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
describe('WidgetsComponent', () => {
let component: WidgetsComponent;
let fixture: ComponentFixture<WidgetsComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ WidgetsComponent ],
imports:[HttpClientTestingModule,BrowserAnimationsModule]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(WidgetsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
|