Update serialization tests to validate collisionEnabled property in scene document JSON

This commit is contained in:
2026-05-13 04:33:47 +02:00
parent 70cf99cf0a
commit 699b68c2cf

View File

@@ -841,6 +841,7 @@ describe("scene document JSON", () => {
edges: { edges: {
left: { left: {
enabled: false, enabled: false,
collisionEnabled: false,
kind: "softShoulder", kind: "softShoulder",
width: 0.35, width: 0.35,
height: 0.12, height: 0.12,
@@ -848,6 +849,7 @@ describe("scene document JSON", () => {
}, },
right: { right: {
enabled: false, enabled: false,
collisionEnabled: false,
kind: "softShoulder", kind: "softShoulder",
width: 0.35, width: 0.35,
height: 0.12, height: 0.12,
@@ -897,6 +899,7 @@ describe("scene document JSON", () => {
expect(migratedDocument.paths[path.id]?.road.edges).toEqual({ expect(migratedDocument.paths[path.id]?.road.edges).toEqual({
left: { left: {
enabled: false, enabled: false,
collisionEnabled: false,
kind: "softShoulder", kind: "softShoulder",
width: 0.35, width: 0.35,
height: 0.12, height: 0.12,
@@ -904,6 +907,7 @@ describe("scene document JSON", () => {
}, },
right: { right: {
enabled: false, enabled: false,
collisionEnabled: false,
kind: "softShoulder", kind: "softShoulder",
width: 0.35, width: 0.35,
height: 0.12, height: 0.12,