Skip to content

Refactor mock-data for weather-tests generation#3000

Merged
khassel merged 5 commits intoMagicMirrorOrg:developfrom
rejas:weather_mocks
Jan 11, 2023
Merged

Refactor mock-data for weather-tests generation#3000
khassel merged 5 commits intoMagicMirrorOrg:developfrom
rejas:weather_mocks

Conversation

@rejas
Copy link
Collaborator

@rejas rejas commented Jan 10, 2023

Refactored the mock data generation for the tests so we can use plain JSON files for the data and read it in a more general way.

Comments welcome!

@rejas rejas changed the base branch from master to develop January 10, 2023 21:55
@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2023

Codecov Report

Merging #3000 (b32b1aa) into develop (7bc91a7) will increase coverage by 0.06%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #3000      +/-   ##
===========================================
+ Coverage    21.95%   22.02%   +0.06%     
===========================================
  Files           51       51              
  Lines        11292    11297       +5     
===========================================
+ Hits          2479     2488       +9     
+ Misses        8813     8809       -4     
Impacted Files Coverage Δ
modules/default/weather/weather.js 0.00% <0.00%> (ø)
modules/default/updatenotification/node_helper.js 80.00% <0.00%> (+12.85%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rejas rejas changed the title Add tests for hourly weather forecast Refactor mock-data for weather-tests generation Jan 10, 2023
@rejas rejas marked this pull request as ready for review January 10, 2023 22:09
@khassel
Copy link
Collaborator

khassel commented Jan 11, 2023

@rejas for me ready to merge, tell me if you want to wait for other comments/reviews ...

@rejas
Copy link
Collaborator Author

rejas commented Jan 11, 2023

@khassel go for it :-)

@khassel khassel merged commit 877f8ad into MagicMirrorOrg:develop Jan 11, 2023
@rejas rejas deleted the weather_mocks branch January 11, 2023 20:54
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