Update path inspector test setup by adding edge definitions

This commit is contained in:
2026-05-13 04:33:00 +02:00
parent 99d5660b99
commit b8f08585a9

View File

@@ -269,21 +269,19 @@ describe("Path inspector", () => {
falloff: 0.75, falloff: 0.75,
heightOffset: 0.08, heightOffset: 0.08,
terrainConform: false, terrainConform: false,
materialId: null materialId: null,
},
repeaters: [
expect.objectContaining({
collisionEnabled: true
})
],
road: {
edges: { edges: {
left: expect.objectContaining({ left: expect.objectContaining({
enabled: true, enabled: true,
collisionEnabled: true collisionEnabled: true
}) })
} }
} },
repeaters: [
expect.objectContaining({
collisionEnabled: true
})
]
}); });
expect(updatedPath?.repeaters[0]).toMatchObject({ expect(updatedPath?.repeaters[0]).toMatchObject({
assetId: "fence_post_wood", assetId: "fence_post_wood",