We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 249e410 commit 1e2e3a8Copy full SHA for 1e2e3a8
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(0);
+ expect(bldg.outerElement.options.roof.direction).toBe(264.5105010439114);
212
const sideAngle = BuildingShapeUtils.longestSideAngle(bldg.outerElement.shape);
213
// verify this
214
expect(sideAngle).toBe(-2.229783094955044);
0 commit comments