Skip to content

Implement unit tests for the getRotationMatrix core utility function#21547

Merged
Snuffleupagus merged 1 commit into
mozilla:masterfrom
timvandermeij:core-utils-test
Jul 7, 2026
Merged

Implement unit tests for the getRotationMatrix core utility function#21547
Snuffleupagus merged 1 commit into
mozilla:masterfrom
timvandermeij:core-utils-test

Conversation

@timvandermeij

Copy link
Copy Markdown
Collaborator

This function is mostly covered indirectly by higher-level tests, but unlike the other core utility functions it lacked dedicated unit tests. This commit implements unit tests for it that also cover the previously uncovered exception case, which brings coverage of the function to 100% and ever so slighly increases coverage of the overarching file.

This function is mostly covered indirectly by higher-level tests, but
unlike the other core utility functions it lacked dedicated unit tests.
This commit implements unit tests for it that also cover the previously
uncovered exception case, which brings coverage of the function to 100%
and ever so slighly increases coverage of the overarching file.
@codecov-commenter

codecov-commenter commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.73%. Comparing base (6689097) to head (67d591f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #21547   +/-   ##
=======================================
  Coverage   89.72%   89.73%           
=======================================
  Files         262      262           
  Lines       66710    66710           
=======================================
+ Hits        59856    59861    +5     
+ Misses       6854     6849    -5     
Flag Coverage Δ
unittest 57.32% <ø> (ø)
unittestcli 56.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Snuffleupagus Snuffleupagus 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.

r=me, thanks.

@Snuffleupagus Snuffleupagus merged commit 18f9aa9 into mozilla:master Jul 7, 2026
12 checks passed
@Snuffleupagus Snuffleupagus removed the request for review from calixteman July 7, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants