summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/cache-admin/cache-admin.component.spec.ts
blob: 7a4bcec0ce4a4329215980c95c4bc34625209007 (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 { HttpClientTestingModule } from '@angular/common/http/testing';
describe('CacheAdminComponent', () => {
  let component: CacheAdminComponent;
  let fixture: ComponentFixture<CacheAdminComponent>;

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      imports:[MatExpansionModule, HttpClientTestingModule],
      declarations: [ CacheAdminComponent ],
      schemas: [CUSTOM_ELEMENTS_SCHEMA]
    })
    .compileComponents();
  })); 

  beforeEach(() => {
    fixture = TestBed.createComponent(CacheAdminComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});