@@ -439,7 +439,7 @@ describe('query autocompleteLocation', () => {
439439 . get ( '/search/geocode/v6/forward' )
440440 . query ( {
441441 q : 'new york' ,
442- types : 'country,place' ,
442+ types : 'country,region, place' ,
443443 limit : 5 ,
444444 access_token : process . env . MAPBOX_ACCESS_TOKEN ,
445445 } )
@@ -506,7 +506,7 @@ describe('query autocompleteLocation', () => {
506506 . get ( '/search/geocode/v6/forward' )
507507 . query ( {
508508 q : 'united states' ,
509- types : 'country,place' ,
509+ types : 'country,region, place' ,
510510 limit : 5 ,
511511 access_token : process . env . MAPBOX_ACCESS_TOKEN ,
512512 } )
@@ -611,7 +611,7 @@ describe('query autocompleteLocation', () => {
611611 . get ( '/search/geocode/v6/forward' )
612612 . query ( {
613613 q : 'san' ,
614- types : 'country,place' ,
614+ types : 'country,region, place' ,
615615 limit : 5 ,
616616 access_token : process . env . MAPBOX_ACCESS_TOKEN ,
617617 } )
@@ -647,7 +647,7 @@ describe('query autocompleteLocation', () => {
647647 . get ( '/search/geocode/v6/forward' )
648648 . query ( {
649649 q : 'test' ,
650- types : 'country,place' ,
650+ types : 'country,region, place' ,
651651 limit : 5 ,
652652 access_token : process . env . MAPBOX_ACCESS_TOKEN ,
653653 } )
@@ -676,7 +676,7 @@ describe('query autocompleteLocation', () => {
676676 . get ( '/search/geocode/v6/forward' )
677677 . query ( {
678678 q : 'nonexistentlocation' ,
679- types : 'country,place' ,
679+ types : 'country,region, place' ,
680680 limit : 5 ,
681681 access_token : process . env . MAPBOX_ACCESS_TOKEN ,
682682 } )
@@ -698,7 +698,7 @@ describe('query autocompleteLocation', () => {
698698 . get ( '/search/geocode/v6/forward' )
699699 . query ( {
700700 q : 'test' ,
701- types : 'country,place' ,
701+ types : 'country,region, place' ,
702702 limit : 5 ,
703703 access_token : process . env . MAPBOX_ACCESS_TOKEN ,
704704 } )
@@ -757,7 +757,7 @@ describe('query autocompleteLocation', () => {
757757 . get ( '/search/geocode/v6/forward' )
758758 . query ( {
759759 q : 'berlin' ,
760- types : 'country,place' ,
760+ types : 'country,region, place' ,
761761 limit : 5 ,
762762 access_token : process . env . MAPBOX_ACCESS_TOKEN ,
763763 } )
@@ -794,7 +794,7 @@ describe('query autocompleteLocation', () => {
794794 . get ( '/search/geocode/v6/forward' )
795795 . query ( {
796796 q : 'San Francisco, CA' ,
797- types : 'country,place' ,
797+ types : 'country,region, place' ,
798798 limit : 5 ,
799799 access_token : process . env . MAPBOX_ACCESS_TOKEN ,
800800 } )
0 commit comments