n8n/packages/nodes-base/nodes/OpenWeatherMap/test/apiResponses.ts
Jon f258cebe53
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
test: OpenWeatherMap node test (#11989)
2024-12-02 17:11:45 +00:00

46 lines
632 B
TypeScript

export const currentWeatherResponse = {
coord: {
lon: 13.4105,
lat: 52.5244,
},
weather: [
{
id: 804,
main: 'Clouds',
description: 'overcast clouds',
icon: '04n',
},
],
base: 'stations',
main: {
temp: 4.85,
feels_like: 3.42,
temp_min: 3.9,
temp_max: 5.5,
pressure: 1034,
humidity: 85,
sea_level: 1034,
grnd_level: 1028,
},
visibility: 10000,
wind: {
speed: 1.79,
deg: 270,
},
clouds: {
all: 100,
},
dt: 1732901176,
sys: {
type: 2,
id: 2011538,
country: 'DE',
sunrise: 1732863129,
sunset: 1732892267,
},
timezone: 3600,
id: 2950159,
name: 'Berlin',
cod: 200,
};