Skip to content

Conversation

@Paranoid93
Copy link
Contributor

Hi,

this PR should change the layout of the indoor values in the current_weather module.

Since the Indoor values are being passed into the module via a notification, I sadly do not know exactly how to write a test for this. Can you link me an example or tell me, how I can mock indoor values into this test?

Before:
grafik

After:
grafik

@rejas
Copy link
Collaborator

rejas commented Mar 23, 2024

Since the Indoor values are being passed into the module via a notification, I sadly do not know exactly how to write a test for this. Can you link me an example or tell me, how I can mock indoor values into this test?

Thanks for the PR, looks nice. I dont have a good idea how to mock this myself.

@rejas rejas merged commit 52cfbac into MagicMirrorOrg:develop Mar 23, 2024
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