Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with fetching forecast on summary page. #333

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

lincent
Copy link
Collaborator

@lincent lincent commented Aug 29, 2024

The summary page would always return 5 days of data for the forecast.

This change corrects this by setting the correct to date in the API request

Copy link

Coverage report for air-quality-ui

St.
Category Percentage Covered / Total
🟢 Statements 94.41% 676/716
🟢 Branches 86.43% 172/199
🟢 Functions 87.98% 161/183
🟢 Lines 94.09% 621/660
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟡
... / GlobalSummary.tsx
60.47% 75% 36.36% 60.47%

Test suite run success

362 tests passing in 28 suites.

Report generated by 🧪jest coverage report action from 8378e27

@lincent lincent merged commit 78912eb into main Aug 29, 2024
6 checks passed
@lincent lincent deleted the lincent/fix-max-forecasf branch August 29, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants