Update serialization tests to validate collisionEnabled property in scene document JSON
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user