Skip to content

Add tests for some weather utils#3103

Merged
khassel merged 9 commits intoMagicMirrorOrg:developfrom
rejas:cleanup/precip_format
May 15, 2023
Merged

Add tests for some weather utils#3103
khassel merged 9 commits intoMagicMirrorOrg:developfrom
rejas:cleanup/precip_format

Conversation

@rejas
Copy link
Collaborator

@rejas rejas commented May 13, 2023

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented May 13, 2023

Codecov Report

Merging #3103 (87e4c7f) into develop (83315f1) will increase coverage by 0.05%.
The diff coverage is 66.66%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@             Coverage Diff             @@
##           develop    #3103      +/-   ##
===========================================
+ Coverage    25.61%   25.66%   +0.05%     
===========================================
  Files           53       53              
  Lines        11421    11422       +1     
===========================================
+ Hits          2926     2932       +6     
+ Misses        8495     8490       -5     
Impacted Files Coverage Δ
...odules/default/weather/providers/openweathermap.js 0.00% <0.00%> (ø)
modules/default/weather/weatherutils.js 100.00% <100.00%> (+0.70%) ⬆️

... and 1 file with indirect coverage changes

} else if (this.firstEvent && this.firstEvent.location) {
params += `q=${this.firstEvent.location}`;
} else {
// TODO hide doesnt exist!
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichMich any idea what your idea behind the hide here was?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this ready to merge or do you need this answer before?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichMich answer isnt needed for merging, we can clean that up later (hence the TODO)

@khassel khassel merged commit 432d900 into MagicMirrorOrg:develop May 15, 2023
@rejas rejas deleted the cleanup/precip_format branch May 15, 2023 20:41
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.

3 participants