Skip to content

improve tests#2923

Merged
MichMich merged 4 commits into
MagicMirrorOrg:developfrom
khassel:tests
Oct 4, 2022
Merged

improve tests#2923
MichMich merged 4 commits into
MagicMirrorOrg:developfrom
khassel:tests

Conversation

@khassel

@khassel khassel commented Oct 2, 2022

Copy link
Copy Markdown
Collaborator

use es6 syntax in all tests, split weather tests, remove callbacks

@khassel

khassel commented Oct 2, 2022

Copy link
Copy Markdown
Collaborator Author

@MichMich I like to remind you to change project settings to "squashing" as described here before merging this, thanks.

@rejas

rejas commented Oct 2, 2022

Copy link
Copy Markdown
Collaborator

Thanks for your work. One favor I have to ask: Could you split the weather tests into two files, weather_current_spec and weather_forecast_spec? Would help me a lot when cleaning them up in my weather refactor later.

Comment thread tests/e2e/modules/clock_spec.js Outdated
@khassel khassel marked this pull request as draft October 2, 2022 14:09
@codecov-commenter

codecov-commenter commented Oct 2, 2022

Copy link
Copy Markdown

Codecov Report

Merging #2923 (94b1c8c) into develop (7694d6f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #2923   +/-   ##
========================================
  Coverage    63.82%   63.82%           
========================================
  Files            9        9           
  Lines          293      293           
========================================
  Hits           187      187           
  Misses         106      106           

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

@MichMich MichMich marked this pull request as ready for review October 2, 2022 16:12
@khassel khassel marked this pull request as draft October 2, 2022 16:27
@khassel khassel marked this pull request as ready for review October 2, 2022 21:31

@rejas rejas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Awesome! SO much cleaner now!

@rejas rejas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved and eager to have it merged @MichMich :-)

@MichMich MichMich merged commit f04d578 into MagicMirrorOrg:develop Oct 4, 2022
@MichMich

MichMich commented Oct 4, 2022

Copy link
Copy Markdown
Collaborator

🎉

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.

4 participants