mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-08 19:14:18 +00:00
Update custom-adapters.component.spec.ts
This commit is contained in:
parent
35c96d1c90
commit
41707d6724
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user