test: Fix "no-unnecessary-condition" issues

This commit is contained in:
regexowl 2025-01-17 09:20:28 +01:00 committed by Lucas Garfield
parent c8c7c7dd0b
commit 08e0a0c384

View file

@ -48,7 +48,7 @@ export const mockSourcesPackagesResults = (
},
];
}
if (search === 'mock' && isDistroPkgSearch) {
if (search === 'mock') {
return [
{
package_name: 'mockPkg',