@testim/testim-cli
Version:
Command line interface for running Testing on you CI
15 lines (14 loc) • 323 B
JavaScript
/**
*
* Get the current geolocation.
*
* @returns {Object} the current geo location (`{latitude: number, longitude: number, altitude: number}`)
* @uses protocol/location
* @type mobile
*
*/
module.exports = function getGeoLocation () {
return this.unify(this.location(), {
extractValue: true
});
};