Skip to content

Commit 6d38823

Browse files
authored
Update diagnose.test.js
1 parent 88e6936 commit 6d38823

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

test/diagnose.test.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -628,21 +628,11 @@ test('Diagnose Skillion Issue', async() => {
628628
for (const part of parts){
629629
// Get the building part
630630
if (part.id === '1426868384'){
631-
const shape = part.shape;
632-
const points = shape.extractPoints().shape;
633-
//const options = {
634-
// angle: (360 - part.options.roof.direction) / 360 * 2 * Math.PI,
635-
// depth: part.options.roof.height,
636-
// pitch: part.options.roof.angle / 180 * Math.PI,
637-
//};
638-
expect(part.options).toBe({});
639-
//expect(points).toBe([]);
640-
//expect(shape.toJSON()).toBe('');
631+
expect(part.options.roof.height).toBe(5.284715476364045);
641632
found = true;
642633
}
643634
}
644635
expect(found).toBe(true);
645-
// dump outer shape
646636
});
647637

648638
window.printError = printError;

0 commit comments

Comments
 (0)