We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be86e01 commit 437033bCopy full SHA for 437033b
test/gabledroofbug.test.js
@@ -185,7 +185,7 @@ beforeEach(() => {
185
test('Constructor', () => {
186
const bldg = new Building('868101951', data);
187
expect(bldg.parts.length).toBe(0);
188
- expect(BuildingShapeUtils.longestSideAngle(bldg.outerElement)).toBe(90);
+ expect(BuildingShapeUtils.longestSideAngle(bldg.outerElement.shape)).toBe(90);
189
const meshes = bldg.render();
190
const roofmesh = meshes[0];
191
const roofGeometry = roofmesh.geometry;
0 commit comments