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