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

Mock getJsonSizeUnsafe to speed up tests #2731

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Sep 17, 2024

The interface controller uses getJsonSizeUnsafe to determine the size of an interface object. For some reason this takes a long time for large legacy UI components, especially in CI.

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.35%. Comparing base (a123418) to head (999ffc0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2731   +/-   ##
=======================================
  Coverage   94.35%   94.35%           
=======================================
  Files         476      476           
  Lines       10137    10137           
  Branches     1542     1542           
=======================================
  Hits         9565     9565           
  Misses        572      572           

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

@Mrtenz Mrtenz force-pushed the mrtenz/mock-json-size branch from 69fe568 to 999ffc0 Compare September 17, 2024 10:34
@Mrtenz Mrtenz marked this pull request as ready for review September 17, 2024 10:42
@Mrtenz Mrtenz requested a review from a team as a code owner September 17, 2024 10:42
@Mrtenz Mrtenz merged commit 44c5701 into main Sep 17, 2024
162 checks passed
@Mrtenz Mrtenz deleted the mrtenz/mock-json-size branch September 17, 2024 10:44
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