We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e30e9ac commit 32693deCopy full SHA for 32693de
test/unit/googleApi.test.js
@@ -30,9 +30,9 @@ describe('googleApi', function() {
30
});
31
32
it ('address', async function() {
33
- let ret = await GoogleApi.geocodeAddress('myKey', "london");
+ let ret = await GoogleApi.geocodeAddress('myKey', 'london', 'en');
34
expect(geocodeRequest).to.have.been.calledWith(
35
- 'https://maps.google.com/maps/api/geocode/json?key=myKey&address=london');
+ 'https://maps.google.com/maps/api/geocode/json?key=myKey&address=london&language=en');
36
expect(ret).to.eql('yo');
37
38
0 commit comments