Skip to content
Snippets Groups Projects
Commit 5c235b45 authored by Taha Cherfia's avatar Taha Cherfia
Browse files

HOLI-7085: update unit tests

parent 4183799c
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@ export type GeoapifyPlace = {
place_id: string;
formatted: string;
city?: string;
state?: string;
country: string;
lon: number;
lat: number;
};
......
......@@ -37,6 +37,8 @@ const placeFragment = `
id
name
city
state
country
coordinates {
latitude
longitude
......
......@@ -94,6 +94,8 @@ export const expectedPlacesAutocompleteGqlResponse = [
id: "51ac66e77e9826274059f9426dc08c114840f00101f901dcf3000000000000c00208",
name: "Munich, Bavaria, Germany",
city: "Munich",
state: "Bavaria",
country: "Germany",
coordinates: {
latitude: 48.1371079,
longitude: 11.5753822,
......@@ -103,6 +105,8 @@ export const expectedPlacesAutocompleteGqlResponse = [
id: "51b1a888d349b558c059b0aa5e7ea7554840f00101f90194c5020000000000c00208",
name: "Munich, ND, United States of America",
city: "Munich",
state: "North Dakota",
country: "United States",
coordinates: {
latitude: 48.669174,
longitude: -98.832631,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment