fix(ptica): honest isReal flags — placeholder stubs no longer marked real (audit #1871 P1.3) #1875
1 changed files with 5 additions and 2 deletions
|
|
@ -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 })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue