test(server): keep timeline page oracle outside production builds

This commit is contained in:
Mohamed Boudra
2026-10-26 17:15:33 +01:00
parent 129fd8fd36
commit 839af91be9
3 changed files with 4 additions and 4 deletions
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { selectReferenceProjectedTimelinePage } from "./timeline-page-reference.test-support.js";
import { selectReferenceProjectedTimelinePage } from "./test-utils/timeline-page-reference.js";
import type { AgentTimelineItem } from "./agent-sdk-types.js";
import { InMemoryAgentTimelineStore } from "./agent-timeline-store.js";
@@ -1,5 +1,5 @@
// Frozen pre-index page selection: differential oracle for retained projection tests.
import type { AgentTimelineRow } from "./agent-timeline-store-types.js";
import type { AgentTimelineRow } from "../agent-timeline-store-types.js";
import {
TimelineProjection,
projectTimelineRows,
@@ -7,7 +7,7 @@ import {
type ProjectedTimelineRow,
type TimelineLimitDirection,
type ProjectedTimelinePageSelection,
} from "./timeline-projection.js";
} from "../timeline-projection.js";
function makeCanonicalEntries(rows: readonly AgentTimelineRow[]): TimelineProjectionEntry[] {
return rows.map((row) => {
@@ -1,4 +1,4 @@
import { selectProjectedTimelinePage } from "./timeline-page-reference.test-support.js";
import { selectProjectedTimelinePage } from "./test-utils/timeline-page-reference.js";
import { describe, expect, test } from "vitest";
import type { AgentTimelineRow } from "./agent-manager.js";