From 527de38044c0fa0a975323e281bb33dba2b53a50 Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Fri, 29 Aug 2025 00:35:21 -0500 Subject: [PATCH] fix build --- .github/workflows/test.yml | 7 +++++-- test/weather.test.ts | 10 ++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3baacba..46e7cc3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,9 @@ jobs: - name: Install dependencies run: npm ci + + - name: Build + run: npm run build - - run: npm test - name: Run tests + - name: Run tests + run: npm test diff --git a/test/weather.test.ts b/test/weather.test.ts index baeb31c..fe6a666 100644 --- a/test/weather.test.ts +++ b/test/weather.test.ts @@ -24,18 +24,12 @@ const current: CurrentResponse = { "temp_min": 283.06, "temp_max": 286.82, "pressure": 1021, - "humidity": 60, - "sea_level": 1021, - "grnd_level": 910 + "humidity": 60 }, "visibility": 10000, "wind": { "speed": 4.09, - "deg": 121, - "gust": 3.47 - }, - "rain": { - "1h": 2.73 + "deg": 121 }, "clouds": { "all": 83