Skip to content

Commit 6305b9a

Browse files
authored
Update diagnose.test.js
1 parent 11a7acb commit 6305b9a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/diagnose.test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,6 +2371,15 @@ test('Diagnose Skillion Issue', async() => {
23712371
const urlBase = 'https://api.openstreetmap.org/api/0.6/';
23722372
expect(global.fetch.mock.calls[0][0]).toBe(urlBase + 'way/398056904/full');
23732373
expect(global.fetch.mock.calls[1][0]).toBe(urlBase + 'map?bbox=125.7416897,39.0269534,125.7420811,39.0272423');
2374+
// get building part 1280622582
2375+
const shapes = building.parts;
2376+
for (part of parts){
2377+
if (part.id = '1280622582'){
2378+
shape = part.shape;
2379+
expect(shape.toJSON()).toBe('');
2380+
}
2381+
}
2382+
// dump outer shape
23742383
});
23752384

23762385
window.printError = printError;

0 commit comments

Comments
 (0)