test: fix native hydrate normalized fixture

This commit is contained in:
Youzini-afk
2026-04-23 03:19:29 +08:00
parent 4b5b560d24
commit 4fd450ce3a

View File

@@ -67,26 +67,38 @@ const snapshot = {
id: "native-node-1", id: "native-node-1",
type: "event", type: "event",
updatedAt: 10, updatedAt: 10,
seqRange: [7, 7],
childIds: [],
clusters: [],
fields: { fields: {
title: "Native Node", title: "Native Node",
}, },
embedding: [1, 2, 3], embedding: [1, 2, 3],
scope: { scope: {
layer: "pov",
ownerType: "character", ownerType: "character",
ownerId: "owner-1", ownerId: "owner-1",
layer: "objective", ownerName: "",
regionPrimary: "camp", regionPrimary: "camp",
regionPath: ["camp"], regionPath: ["camp"],
regionSecondary: [], regionSecondary: [],
}, },
storyTime: { storyTime: {
segmentId: "",
label: "Dawn", label: "Dawn",
tense: "unknown", tense: "unknown",
relation: "unknown",
anchorLabel: "",
confidence: "medium",
source: "derived",
}, },
storyTimeSpan: { storyTimeSpan: {
startSegmentId: "",
endSegmentId: "",
startLabel: "Dawn", startLabel: "Dawn",
endLabel: "Dawn", endLabel: "Dawn",
mixed: false, mixed: false,
source: "derived",
}, },
}, },
], ],
@@ -97,9 +109,10 @@ const snapshot = {
toId: "native-node-2", toId: "native-node-2",
relation: "related", relation: "related",
scope: { scope: {
layer: "pov",
ownerType: "character", ownerType: "character",
ownerId: "owner-1", ownerId: "owner-1",
layer: "objective", ownerName: "",
regionPrimary: "camp", regionPrimary: "camp",
regionPath: ["camp"], regionPath: ["camp"],
regionSecondary: [], regionSecondary: [],