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

Continue electron-mocha-renderer migration #1066

Conversation

araujoarthur0
Copy link
Collaborator

Related issue

Helps #1037

Context / Background

Continues from #1065
Here I'm migrating the other tests that don't depend on jest and that require a simple migration.

We'll need to add global.$ = jQuery(new jsdom.JSDOM().window); when a test requires jquery because mocha needs jsdom to create an actual html document to test.

Copy link

codecov bot commented Mar 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.13%. Comparing base (23f0560) to head (4eeda51).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1066   +/-   ##
=======================================
  Coverage   65.13%   65.13%           
=======================================
  Files          22       22           
  Lines        3270     3270           
  Branches      476      476           
=======================================
  Hits         2130     2130           
  Misses       1140     1140           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@tupaschoal tupaschoal left a comment

Choose a reason for hiding this comment

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

Yay!

@tupaschoal tupaschoal merged commit d1da985 into thamara:main Mar 16, 2024
9 checks passed
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