We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0bad18 commit 4a2c2dcCopy full SHA for 4a2c2dc
test/gabledroofbug.test.js
@@ -208,7 +208,7 @@ test('Constructor', () => {
208
const bldg = new Building('285102551', data1);
209
expect(bldg.parts.length).toBe(0);
210
expect(bldg.outerElement.getAttribute('roof:direction')).toBe(undefined);
211
- expect(bldg.outerElement.options.roof.direction).toBe(264.5105010439114);
+ expect(bldg.outerElement.options.roof.height).toBe(3);
212
const sideAngle = BuildingShapeUtils.longestSideAngle(bldg.outerElement.shape);
213
// verify this
214
expect(sideAngle).toBe(-1.4749864957263585);
0 commit comments