Skip to content

Commit e9712ed

Browse files
authored
Update diagnose.test.js
1 parent 029d9d8 commit e9712ed

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/diagnose.test.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,15 +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 (const part of parts){
2377-
if (part.id == '1280622582'){
2378-
const shape = part.shape;
2379-
expect(shape.toJSON()).toBe('');
2380-
}
2381-
}
2382-
// dump outer shape
2374+
// get building part 1280622582
2375+
const parts = building.parts;
2376+
for (const part of parts){
2377+
if (part.id == '1280622582'){
2378+
const shape = part.shape;
2379+
expect(shape.toJSON()).toBe('');
2380+
}
2381+
}
2382+
// dump outer shape
23832383
});
23842384

23852385
window.printError = printError;

0 commit comments

Comments
 (0)