Browse Source

web-ui: Fix block.component.spec

prometheus-integration
jonsadev 6 years ago
parent
commit
a5ac041465
  1. 12
      web-ui/src/app/components/block/block.component.spec.ts

12
web-ui/src/app/components/block/block.component.spec.ts

@ -2,13 +2,23 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { BlockComponent } from './block.component'; import { BlockComponent } from './block.component';
import { TranslateModule } from '@ngx-translate/core';
import { NO_ERRORS_SCHEMA, } from '@angular/core';
describe('BlockComponent', () => { describe('BlockComponent', () => {
let component: BlockComponent; let component: BlockComponent;
let fixture: ComponentFixture<BlockComponent>; let fixture: ComponentFixture<BlockComponent>;
beforeEach(async(() => { beforeEach(async(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ BlockComponent ] declarations: [
BlockComponent
],
imports: [
TranslateModule.forRoot()
],
schemas: [NO_ERRORS_SCHEMA]
}) })
.compileComponents(); .compileComponents();
})); }));

Loading…
Cancel
Save