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