UI Support for operation milestones
[sdc.git] / catalog-ui / src / app / ng2 / pages / composition / interface-operatons / operation-creator / filters-list / filters-list.component.spec.ts
1 /*
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2023 Nordix Foundation
4  *  ================================================================================
5  *  Licensed under the Apache License, Version 2.0 (the "License");
6  *  you may not use this file except in compliance with the License.
7  *  You may obtain a copy of the License at
8  *
9  *        http://www.apache.org/licenses/LICENSE-2.0
10  *  Unless required by applicable law or agreed to in writing, software
11  *  distributed under the License is distributed on an "AS IS" BASIS,
12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *  See the License for the specific language governing permissions and
14  *  limitations under the License.
15  *
16  *  SPDX-License-Identifier: Apache-2.0
17  *  ============LICENSE_END=========================================================
18  */
19 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
20 import { FiltersListComponent } from './filters-list.component';
21 import { TranslateModule } from '../../../../../shared/translator/translate.module';
22 import { FormsModule, ReactiveFormsModule } from '@angular/forms';
23 import { ToscaFunctionModule } from '../../../../properties-assignment/tosca-function/tosca-function.module';
24 import { SdcUiComponentsModule } from "onap-ui-angular/dist";
25
26 describe('FiltersListComponent', () => {
27   let component: FiltersListComponent;
28   let fixture: ComponentFixture<FiltersListComponent>;
29
30   beforeEach(async(() => {
31     TestBed.configureTestingModule({
32       declarations: [ FiltersListComponent ],
33       imports: [
34         FormsModule,
35         ReactiveFormsModule,
36         TranslateModule,
37         SdcUiComponentsModule,
38         ToscaFunctionModule
39       ]
40     })
41     .compileComponents();
42   }));
43
44   beforeEach(() => {
45     fixture = TestBed.createComponent(FiltersListComponent);
46     component = fixture.componentInstance;
47     fixture.detectChanges();
48   });
49
50   it('should create', () => {
51     expect(component).toBeTruthy();
52   });
53 });