blob: ead4e571496e4f6fc8c1d648c124996b3168a88e (
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 { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CacheAdminComponent } from './cache-admin.component';
import { MatExpansionModule } from '@angular/material';
import { HttpClient, HttpClientModule } from '@angular/common/http';
describe('CacheAdminComponent', () => {
let component: CacheAdminComponent;
let fixture: ComponentFixture<CacheAdminComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports:[MatExpansionModule, HttpClientModule],
declarations: [ CacheAdminComponent ],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CacheAdminComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
|