1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2 import { RgwMultisiteSyncPolicyFormComponent } from './rgw-multisite-sync-policy-form.component';
3 import { HttpClientTestingModule } from '@angular/common/http/testing';
4 import { ToastrModule } from 'ngx-toastr';
5 import { ReactiveFormsModule } from '@angular/forms';
6 import { PipesModule } from '~/app/shared/pipes/pipes.module';
7 import { ComponentsModule } from '~/app/shared/components/components.module';
8 import { RouterTestingModule } from '@angular/router/testing';
9 import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
11 describe('RgwMultisiteSyncPolicyFormComponent', () => {
12 let component: RgwMultisiteSyncPolicyFormComponent;
13 let fixture: ComponentFixture<RgwMultisiteSyncPolicyFormComponent>;
15 beforeEach(async () => {
16 await TestBed.configureTestingModule({
17 declarations: [RgwMultisiteSyncPolicyFormComponent],
19 HttpClientTestingModule,
21 ToastrModule.forRoot(),
26 schemas: [NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA],
28 }).compileComponents();
30 fixture = TestBed.createComponent(RgwMultisiteSyncPolicyFormComponent);
31 component = fixture.componentInstance;
32 fixture.detectChanges();
35 it('should create', () => {
36 expect(component).toBeTruthy();