Skip to content

Commit

Permalink
test(ios): enable async geolocation tests on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Dec 7, 2020
1 parent 557c4a3 commit 948da56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Resources/ti.geolocation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ describe.windowsBroken('Titanium.Geolocation', () => {
});
});

it.android('works via Promise return value', function (finish) {
it('works via Promise return value', function (finish) {
this.timeout(6e4); // 60 sec

const result = Ti.Geolocation.forwardGeocoder('440 N Bernardo Ave, Mountain View');
Expand Down Expand Up @@ -407,7 +407,7 @@ describe.windowsBroken('Titanium.Geolocation', () => {
});
});

it.android('works via Promise return value', function (finish) {
it('works via Promise return value', function (finish) {
const result = Ti.Geolocation.reverseGeocoder(37.3883645, -122.0512682);
result.should.be.a.Promise();
result.then(data => {
Expand Down

0 comments on commit 948da56

Please sign in to comment.