Fix i18n-iso-countries import for Vite bundling #17
Annotations
3 errors
|
CI
Process completed with exit code 1.
|
|
src/geocoder/index.test.ts > Geocoder Module > geocodeLocation > still adds region bias even when country is in query:
src/geocoder/index.test.ts#L161
AssertionError: expected 'https://maps.googleapis.com/maps/api/…' to contain 'region=it'
Expected: "region=it"
Received: "https://maps.googleapis.com/maps/api/geocode/json?address=Rome%2C+Italy&key=test-key"
❯ src/geocoder/index.test.ts:161:19
|
|
src/geocoder/index.test.ts > Geocoder Module > geocodeLocation > adds region bias for default country (soft bias):
src/geocoder/index.test.ts#L145
AssertionError: expected "spy" to be called with arguments: [ StringContaining "region=it" ]
Received:
1st spy call:
[
- StringContaining "region=it",
+ "https://maps.googleapis.com/maps/api/geocode/json?address=Rome&key=test-key",
]
Number of calls: 1
❯ src/geocoder/index.test.ts:145:25
|