Skip to content

Commit ae1e87b

Browse files
authored
Update diagnose.test.js
1 parent 93e43e0 commit ae1e87b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/diagnose.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ test('Diagnose Skillion Issue', async() => {
624624
expect(global.fetch.mock.calls[1][0]).toBe(urlBase + 'map?bbox=-4.3314236,55.8550736,-4.3312202,55.8551787');
625625
// get building part
626626
const parts = building.parts;
627-
// let found = false;
627+
let found = false;
628628
for (const part of parts){
629629
// Get the building part
630630
if (part.id === '1426868384'){
@@ -636,12 +636,12 @@ test('Diagnose Skillion Issue', async() => {
636636
// pitch: part.options.roof.angle / 180 * Math.PI,
637637
//};
638638
//expect(options).toBe({});
639-
expect(points).toBe([]);
639+
//expect(points).toBe([]);
640640
//expect(shape.toJSON()).toBe('');
641-
// found = true;
641+
found = true;
642642
}
643643
}
644-
// expect(found).toBeTrue();
644+
expect(found).toBe(true);
645645
// dump outer shape
646646
});
647647

0 commit comments

Comments
 (0)