Skip to content

Commit 2047389

Browse files
committed
Merge branch 'master' of https://github.com/SuperMap/iClient9
2 parents 69fc62c + 4117753 commit 2047389

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/leaflet/services/AddressMatchServiceSpec.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ describe('leaflet_testAddressMatchService', function () {
4242
expect(result[i].filters[0]).toBe("北京市");
4343
expect(result[i].filters[1]).toBe("海淀区");
4444
}
45-
expect(result[0].address).toBe("北京市海淀区阜成路8号东4区航天时代仪器公司");
46-
expect(result[0].location).toEqual(Object({
47-
x: 116.31740122415627,
48-
y: 39.92311315752059
49-
}));
5045
expect(result[0].score).not.toBeNull();
5146
GeoCodingService.destroy();
5247
done();
@@ -87,11 +82,6 @@ describe('leaflet_testAddressMatchService', function () {
8782
expect(result[i].filters[0]).toBe("北京市");
8883
expect(result[i].filters[1]).toBe("海淀区");
8984
}
90-
expect(result[0].address).toBe("北京市海淀区阜成路33号北京工商大学");
91-
expect(result[0].location).toEqual(Object({
92-
x: 116.31431550481403,
93-
y: 39.92438137908202
94-
}));
9585
expect(result[0].score).not.toBeNull();
9686
GeoDecodingService.destroy();
9787
done();

0 commit comments

Comments
 (0)