Skip to content

Commit

Permalink
Merge branch 'geo/main' of github.com:aws-amplify/amplify-js into geo…
Browse files Browse the repository at this point in the history
…/staging
  • Loading branch information
TreTuna committed Sep 13, 2021
2 parents 8136562 + c54d3dc commit f07ce5d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packages/geo/__tests__/Geo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ describe('Geo', () => {
const input = spyon.mock.calls[0][0].input;
expect(input).toEqual({
Text: testString,
IndexName:
awsConfig.geo.amazon_location_service.search_indices.default,
IndexName: awsConfig.geo.amazon_location_service.search_indices.default,
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ describe('AmazonLocationServiceProvider', () => {
const input = spyon.mock.calls[0][0].input;
expect(input).toEqual({
Text: testString,
IndexName:
awsConfig.geo.amazon_location_service.search_indices.default,
IndexName: awsConfig.geo.amazon_location_service.search_indices.default,
});
});

Expand Down Expand Up @@ -279,8 +278,7 @@ describe('AmazonLocationServiceProvider', () => {
const input = spyon.mock.calls[0][0].input;
expect(input).toEqual({
Position: testCoordinates,
IndexName:
awsConfig.geo.amazon_location_service.search_indices.default,
IndexName: awsConfig.geo.amazon_location_service.search_indices.default,
});
});

Expand Down
5 changes: 5 additions & 0 deletions packages/geo/src/types/AmazonLocationServicesProvider.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { MapStyle } from './Geo';

export interface AmazonLocationServiceMapStyle extends MapStyle {
region: string;
}

0 comments on commit f07ce5d

Please sign in to comment.