// import { DomainPackageInspectionService } from '@domain/package-inspection';
// import { createComponentFactory, Spectator } from '@ngneat/spectator';
// import { PackageDTO2 } from '@generated/swagger/wws-api';
// import { UISvgIconComponent } from '@ui/icon';
// import { MockComponent } from 'ng-mocks';
// import { PackageResultComponent } from './package-result.component';
// import { PackageListComponent } from '@shared/components/package-inspection/package-list';

// xdescribe('PackageResultComponent', () => {
//   let spectator: Spectator<PackageResultComponent>;
//   const createComponent = createComponentFactory({
//     component: PackageResultComponent,
//     mocks: [DomainPackageInspectionService],
//     declarations: [MockComponent(PackageListComponent), MockComponent(UISvgIconComponent)],
//   });

//   beforeEach(() => {
//     spectator = createComponent();
//   });

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

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

//   it('should set the input package of the PackageListComponent', () => {
//     const packages: PackageDTO2[] = [{ id: '1' }, { id: '2' }];
//     spectator.component.store.setPackages(packages);

//     spectator.detectChanges();

//     expect(spectator.query(PackageListComponent).packages).toEqual(packages);
//   });
// });
