7a4bcec0ce4a4329215980c95c4bc34625209007
[portal/sdk.git] /
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3 import { CacheAdminComponent } from './cache-admin.component';
4 import { MatExpansionModule } from '@angular/material';
5 import { HttpClientTestingModule } from '@angular/common/http/testing';
6 describe('CacheAdminComponent', () => {
7   let component: CacheAdminComponent;
8   let fixture: ComponentFixture<CacheAdminComponent>;
9
10   beforeEach(async(() => {
11     TestBed.configureTestingModule({
12       imports:[MatExpansionModule, HttpClientTestingModule],
13       declarations: [ CacheAdminComponent ],
14       schemas: [CUSTOM_ELEMENTS_SCHEMA]
15     })
16     .compileComponents();
17   })); 
18
19   beforeEach(() => {
20     fixture = TestBed.createComponent(CacheAdminComponent);
21     component = fixture.componentInstance;
22     fixture.detectChanges();
23   });
24
25   it('should create', () => {
26     expect(component).toBeTruthy();
27   });
28 });