提交 660feb18 编写于 作者: Q quanli

quanli1@huawei.com

Signed-off-by: Nquanli <quanli1@huawei.com>
上级 2f35e851
......@@ -107,9 +107,14 @@ describe('geolocationTest_geo5', function () {
* @tc.level Level 2
*/
it('SUB_HSS_LocationSystem_Geo_1900', 0, function () {
let geocoder1 = geolocationm.isGeocoderAvailable();
console.info('[lbs_js] isGeocoderAvailable result: ' + JSON.stringify(geocoder1));
expect(true).assertEqual(JSON.stringify(geocoder1) != null);
try {
let geocoder1 = geolocationm.isGeocoderAvailable();
console.info('[lbs_js] isGeocoderAvailable result: ' + JSON.stringify(geocoder1));
expect(true).assertEqual(JSON.stringify(geocoder1) != null);
} catch (error) {
console.info('[lbs_js] isGeocoderAvailable err:' + JSON.stringify(error));
expect(true).assertEqual(JSON.stringify(error) != null);
}
});
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册