Skip to content

Commit 437033b

Browse files
authored
Update gabledroofbug.test.js
1 parent be86e01 commit 437033b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/gabledroofbug.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ beforeEach(() => {
185185
test('Constructor', () => {
186186
const bldg = new Building('868101951', data);
187187
expect(bldg.parts.length).toBe(0);
188-
expect(BuildingShapeUtils.longestSideAngle(bldg.outerElement)).toBe(90);
188+
expect(BuildingShapeUtils.longestSideAngle(bldg.outerElement.shape)).toBe(90);
189189
const meshes = bldg.render();
190190
const roofmesh = meshes[0];
191191
const roofGeometry = roofmesh.geometry;

0 commit comments

Comments
 (0)