diff --git a/frontend/src/components/site-finder/ptica/__tests__/ptica-adapt.honesty.test.ts b/frontend/src/components/site-finder/ptica/__tests__/ptica-adapt.honesty.test.ts index e24fcf88..1029d081 100644 --- a/frontend/src/components/site-finder/ptica/__tests__/ptica-adapt.honesty.test.ts +++ b/frontend/src/components/site-finder/ptica/__tests__/ptica-adapt.honesty.test.ts @@ -24,8 +24,11 @@ import { import type { ParcelAnalysis } from "@/types/site-finder"; import type { ForecastReport } from "@/types/forecast"; -import forecastFixture from "@/app/%5F%5Fpreview/ptica/__fixtures__/forecast.json"; -import analyzeFixture from "@/app/%5F%5Fpreview/ptica/__fixtures__/analyze.json"; +// Tracked mock fixtures (NEXT_PUBLIC_USE_MOCKS source). The dev-only +// __preview/ptica/__fixtures__ dir is git-excluded, so it is absent in CI — +// these committed mocks keep the suite reproducible on the Linux runner. +import forecastFixture from "@/lib/mocks/parcel-forecast.json"; +import analyzeFixture from "@/lib/mocks/parcel-analyze.json"; const analysis = analyzeFixture as unknown as ParcelAnalysis; const baseReport = (forecastFixture as { report: unknown })