// import { ActivatedRoute } from '@angular/router';
// import { BreadcrumbService } from '@core/breadcrumb';
// import { Config } from '@core/config';
// import { DomainProductListService } from '@domain/product-list';
// import { createComponentFactory, Spectator } from '@ngneat/spectator';
// import { ProductListItemDTO } from '@generated/swagger/wws-api';
// import { UISvgIconComponent } from '@ui/icon';
// import { UiModalService } from '@ui/modal';
// import { MockComponent } from 'ng-mocks';
// import { PriceUpdateListComponent } from './price-update-list';
// import { PriceUpdateComponent } from './price-update.component';
// import { PriceUpdateComponentStore } from './price-update.component.store';

// xdescribe('PriceUpdateComponent', () => {
//   let spectator: Spectator<PriceUpdateComponent>;
//   let priceUpdateStoreMock: jasmine.SpyObj<PriceUpdateComponentStore>;
//   const createComponent = createComponentFactory({
//     component: PriceUpdateComponent,
//     mocks: [DomainProductListService, UiModalService, ActivatedRoute, Config, BreadcrumbService],
//     declarations: [MockComponent(PriceUpdateListComponent), MockComponent(UISvgIconComponent)],
//   });

//   beforeEach(() => {
//     spectator = createComponent();
//     priceUpdateStoreMock = spectator.inject(PriceUpdateComponentStore, true);
//   });

//   it('should create', () => {
//     expect(spectator.component).toBeTruthy();
//   });

//   it('should render the PriceUpdateListComponent', () => {
//     expect(spectator.query(PriceUpdateListComponent)).toBeTruthy();
//   });

//   it('should set the input package of the PriceUpdateListComponent', () => {
//     const items: ProductListItemDTO[] = [{ uId: '1' }, { uId: '2' }];
//     spectator.component.store.setItems(items);

//     spectator.detectChanges();

//     expect(spectator.query(PriceUpdateListComponent).items).toEqual(items);
//   });
// });
