Update path inspector test setup by adding edge definitions
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user