Update custom-adapters.component.spec.ts

This commit is contained in:
Piotr Pekala 2019-09-11 05:45:58 -07:00
parent 35c96d1c90
commit 41707d6724

View File

@ -4,6 +4,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { CommonModule } from '@angular/common';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { CustomAdaptersComponent } from './custom-adapters.component';
import { CustomAdaptersTableComponent } from '../custom-adapters-table/custom-adapters-table.component';
describe('Custom adapters component', () => {
let component: CustomAdaptersComponent;
@ -31,6 +32,7 @@ describe('Custom adapters component', () => {
it('should emit event when apply clicked', () => {
spyOn(component.saveConfigurationEmitter, 'emit');
component.customAdapters = {adapters: []} as CustomAdaptersTableComponent;
component.configureCustomAdapters();